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

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