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? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -