I am using jQuery to submit a form when a button is clicked. I would then like to test the value of the button, however, this doesn\'t get submitted in Safari and Chrome. Wh
Agree with Vins, I'd probably use .
Is there a particular reason why you are using instead of
? I typically prefer
(allows me to add icons and images), but I believe there are differences between browsers regarding how value is interpreted...
According to w3schools Mozilla Developer Network, some browsers will submit the value attribute, while other browsers such as IE7 will incorrectly submit the text between the tags.