View Full Version : cross browser problem with button

01-24-2012, 11:24 PM

I have a button with code on it that sends the fname, lname and email address to a constant contact box. It works great in google chrome, but not at all in IE or Mozilla. Any help would be appreciated.

What happens is after the user enters their name then email address and hit "instant access" it puts the info in the constant contact box and then sends then to a congratulations page. It looks like it is trying to do something in IE and firefox, but does nothing. Here's the link to the site: http://bit.ly/vsrl44

It's the box on the right in the header.

Thanks in advance.

01-25-2012, 02:13 AM
You are using <input type="image"> to create that button. The only values that vbutton passes are x and y values representing the position in the image where the mouse button was clicked to submit the form. Some browsers may send other values but those two are the only ones they are supposed to send for an image button.

Presumably your server side code is testing a value that you are expecting to be passed by this button when the form is submitted and it doesn't exist in all the browsers.