redho home | products | services
Web Design Forums

Web Design Forums  


Web Hosting, Web Design, Software and Web Development Forums  
 FAQFAQ   MemberlistArchive  Log inLog in   RegisterRegister 
         

text input node


Goto page Previous  1, 2, 3, 4, 5, 6  Next
 
Post new topic   Reply to topic    Web Design Forums -> HTML forum
View previous topic :: View next topic  
Author Message
Koplaf



Joined: 28 May 2006
Posts: 130
optomeb, You could set it up so that if the user has JS, then the submit action gets blocked, but you does some XMLHTTPReq stuff to get the job done.
If there is no JS, then the submit will do it's magic.
  Reply with quote


optomeb



Joined: 19 May 2006
Posts: 113
Action is required according to w3
  Reply with quote
Koplaf



Joined: 28 May 2006
Posts: 130
On the server side, you'll hook them into the same functions, so you won't haveot know the difference.
  Reply with quote
montanarry



Joined: 13 May 2006
Posts: 175
optomeb, then also put onSubmit="return false"
Or something like that
but i dont know exact
  Reply with quote
Klimapol



Joined: 27 May 2006
Posts: 134
montanarry, no
you'd attach an event listener
Cancel the event
And then do XHR stuff instead
Of course then you have to know how to use XHR and what to do with the response
  Reply with quote
montanarry



Joined: 13 May 2006
Posts: 175
What?
  Reply with quote
Klimapol



Joined: 27 May 2006
Posts: 134
Nothing about it "just works"
  Reply with quote
montanarry



Joined: 13 May 2006
Posts: 175
Why cant he put event listener
If the html sends the form after enter
Then block it with the <form onSubmit="return false;">
I still bet 20 that it has to be this way Razz
  Reply with quote
Koplaf



Joined: 28 May 2006
Posts: 130
montanarry, That's an easy bet for you to make, being as none of us is on hand to collect.
  Reply with quote
Poolkop



Joined: 01 Jun 2006
Posts: 123
montanarry,Using unobtrusive javascript also means not using html attributes to attach event handlers
  Reply with quote
Page 3 of 6 Goto page Previous  1, 2, 3, 4, 5, 6  Next
Post new topic   Reply to topic    Web Design Forums -> HTML forum


Dubai Forums - Expat Help | Vegan Chat | Java Programming | Free 3D tutorials and 3d textures | Paris Forum | EU Forum
Free Dubai Classifieds | Free London Classifieds | Jobs in London

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

Powered by phpBB © 2001, 2005 phpBB Group