blob: fbc54ecb407c44b632e713fff768518cff19a5f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$(document).ready(function() {
/*
* Clear values of name and password on click
*/
$("#name").click(function() {
if ($(this).val() == "name") {
$(this).removeAttr("value");
};
});
$("#pass").click(function() {
if ($(this).val() == "password") {
$(this).removeAttr("value");
$(this).prop({"type": "password"});
};
});
$("select").change(function() {
continue;
});
});
|