jQuery clear input[type=password] -


i'm trying clear inputs password type when jquery validation fails - tried following (which doesn't work) :

$('input[type=password]').val(''); 

any ideas?

try with

$("input[type='password']").val(''); 

Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

c# - SharpSVN - How to get the previous revision? -

php cli reading files and how to fix it? -