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# - SharpSVN - How to get the previous revision? -

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

url - Querystring manipulation of email Address in PHP -