A simple one, I\'m trying to retrieve the value attribute of a button when its been pressed using jQuery, here\'s what I have:
As a button value is an attribute you need to use the .attr() method in jquery. This should do it
You can also use attr to set attributes, more info in the docs.
This only works in JQuery 1.6+. See postpostmodern's answer for older versions.