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
As Robert says above when using the tag you need both
name=""
and value=""
, e.g.
VS
In this example your POST data would have the Key Value pair of:
Search Simple
or
Search Advanced
And then based on that POST value you can write your code to take the appropriate action. :)
i.e. you don't need to use input, just use button with name/value and you'll be fine.