redho home | products | services

Programming Forums


Community for Java, PHP, Perl C, ASP and Python programmers
Thursday 18 October 2018 19:48

Ask your IT question here

text input node


Goto page Previous  1, 2, 3, 4, 5, 6  Next
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Programming Forums -> HTML forum
View previous topic :: View next topic  
Author Message
montanarry
Enthusiastic Coder


Joined: 13 May 2006
Posts: 175
Yeah easy cause i wont be able to collect money from you
Poolkop, why html atributes...
He can also do somewhere a script.. form.onSubmit=function
Or he cant ?

Reply with quote
 
Koplaf
Enthusiastic Coder


Joined: 28 May 2006
Posts: 130
montanarry,However, I believe you're basically saying the same thing. make the onSubmit event handler be the function that does your XHR juju, and then returns false. In the absense of JS, submit will do it's thing. Of course, then you'll want to do be careful to do your layering right server side.
Reply with quote
 
Poolkop
Enthusiastic Coder


Joined: 01 Jun 2006
Posts: 123
He can, and he should. I think you forgot to read my negation
Reply with quote
 
optomeb
Enthusiastic Coder


Joined: 19 May 2006
Posts: 113
How exactly do I cancel the event?
Reply with quote
 
Koplaf
Enthusiastic Coder


Joined: 28 May 2006
Posts: 130
optomeb, If the event handler you use returns false, you should be golden.
Reply with quote
 
montanarry
Enthusiastic Coder


Joined: 13 May 2006
Posts: 175
Well thats what i said or no ?
Reply with quote
 
optomeb
Enthusiastic Coder


Joined: 19 May 2006
Posts: 113
Well, I believe it does return false... but still!
Reply with quote
 
montanarry
Enthusiastic Coder


Joined: 13 May 2006
Posts: 175
Still what..
Reply with quote
 
Koplaf
Enthusiastic Coder


Joined: 28 May 2006
Posts: 130
montanarry,I think the argument was actually about syaing myform.onSubmit=function blah(){} vs. saying <form onsubmit="return false;">
Reply with quote
 
montanarry
Enthusiastic Coder


Joined: 13 May 2006
Posts: 175
Well i said both
Reply with quote
 
Page 4 of 6 Goto page Previous  1, 2, 3, 4, 5, 6  Next
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Programming Forums -> HTML forum


Dubai Forums - Expat Help | Vegan Forum | Java Programming | 3d Design Resources | 3d Forum | 3D Jobs | 3D Textures | Paris Forum | Europe Forum
Dubai Classifieds | Dubai Property | Jobs in Dubai | Free London Classifieds | Jobs in London UK

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

© 2018 RedHo