jquery - Clear input value in form -



jquery - Clear input value in form -

due ie8 transparancy issue want remove value form field.

<input type="button" value="something" />

i tried several variations of

$(' input[type="submit"], input[type="inputsubmit"], input[type="button"]').val('');

with no success. know should simple.

i'd appreciate help this.

thanks

are sure? this working fine me way ie7

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

the result button no text.

jquery input clear

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

How do I check if an insert was successful with MySQLdb in Python? -