Jump to content

buttons in firefox


Recommended Posts

i noticed this problem in firefox browseri have a form that contain a submit button written as

<input type=submit>

if i add any other button in side the form for doing some javascript actions for mefirefox treat this button as submit button for that formIE does not do that

Link to comment
Share on other sites

First you're HTML button is wrong. It's

<input type="submit">

That above html code is a submit button, it IS suppose to submit the form. If you were just looking for a button without the submit, then you need this:

<input type="button" value="Click Here">

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...