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