input type submit vs image
I am porting an application to jquery mobile but am having problems with form submission.
When I use an input type='submit' button, the name and value of the button is sent to the host but when
the input type='image' button on the same form, the name and value is not sent when the form is submitted.
I have tried with data-ajax both true and false and the result is the same.
I guess I can use the 'data-icon' attribute of the submit button, but I think that limits me to the sprites provided.
Can someone give me a heads up on where I should go?
Thanks