jquery - Select button by value -


how select button specific value jquery?

<input type="button" value="my task"> 

you can use attr=value selector:

$('input[type="button"][value="my task"]') 

example: http://jsfiddle.net/niklasvh/yaukc/


Comments

Popular posts from this blog

sql - text truncated using perl DBI insert -

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

php - Pass object by reference or value -