EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
November 05, 2025, 12:50:55 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
Form with password field - Can not set the password field empty
Pages: [
1
]
« previous
next »
Print
Author
Topic: Form with password field - Can not set the password field empty (Read 9649 times)
jaimi
Full Member
Posts: 121
Form with password field - Can not set the password field empty
«
on:
September 29, 2016, 12:06:12 AM »
I have a Form with a password field. I want to set the value of the password-field to empty.
if (currentName == "PUA_PWD") {
vTooltip = "Geben Sie Ihr Passwort ein.";
vPlaceholder = "Passwort...";
currentInput.val("");
$(this).attr("maxlength","15")
.css("width","250");
};
Doesn't work. Every ideas?
Logged
jarry
Administrator
Hero Member
Posts: 2300
Re: Form with password field - Can not set the password field empty
«
Reply #1 on:
September 29, 2016, 02:20:31 AM »
Please call 'clear' method to clear its value.
Code:
$(currentInput).passwordbox('clear');
Logged
jaimi
Full Member
Posts: 121
Re: Form with password field - Can not set the password field empty
«
Reply #2 on:
October 08, 2016, 02:04:40 AM »
Quote from: jarry on September 29, 2016, 02:20:31 AM
Please call 'clear' method to clear its value.
Code:
$(currentInput).passwordbox('clear');
i don't now how to integrate this snipped to my code.
I tried several.
to what refers the part passwordbox?
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...