Jump to content

Is there a term for this


niche
 Share

Recommended Posts

Is there a term for a form submission that's been disabled and redirected by javascript as in an element that contains something like this?

onclick="addBop(this); return false;"

:

Edited by niche
Link to comment
Share on other sites

I don't think there's a term for it. It's just something you can do. That should be "onsubmit", not "onclick" and it needs to be on the <form> element.

Link to comment
Share on other sites

Actually, I'm using a button inside my form instead of an input. I put the onclick in the button and it checks out in ff, ie, s, c, o and validates with a transitional doctype, but not under strict. When I changed onclick to onsubmit and moved it to the form tag, JS failed, but I didn't try to debug.

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
 Share

×
×
  • Create New...