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

java - Output of Eclipse is rubbish -

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