niche Posted May 30, 2012 Share Posted May 30, 2012 (edited) 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 May 30, 2012 by niche Link to comment Share on other sites More sharing options...
Ingolme Posted May 30, 2012 Share Posted May 30, 2012 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 More sharing options...
niche Posted May 30, 2012 Author Share Posted May 30, 2012 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now