Search the web
Sign In
New User? Sign Up
AJAX_2-0 · AJAX 2.0 = XHTML DOM + Remote JavaScript
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Problem using POST method in Firefox   Message List  
Reply | Forward Message #115 of 136 |
Re: [AJAX_2-0] problem on validating

hi Crhistopher,
 you make the button to 'button' type rather 'submit'

 call the validate function on 'onclick' event rather 'onsubmit'

 use javascript submit() function after your response it ok to proceed the form submission.

 Hope this solves your problem

-Sreeni.A

On 10/27/06, christopher andrada <chrisandrada@... > wrote:

hi all,

i need help on my code. when i submit the form
onsubmit... i call ajax to fetch if the inputs are
valid... but before ajax makes a round trip... the
onsubmit function already returned true and went ahead
and submitted the page for porcessing. i how do i
make the javascript onsubmit wait for the response of
the ajax call then proceed with other task within the
onsubmit call.

thanks in advance.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com




Mon Oct 30, 2006 8:25 am

sreeniaitist
Offline Offline
Send Email Send Email

Forward
Message #115 of 136 |
Expand Messages Author Sort by Date

hi all, i'm using this code from http://www.w3schools.com/xml/xml_http.asp using POST method. It workds fine with IE but with firefox... it fails... can...
chrisandrada
Offline Send Email
Jun 28, 2006
7:04 am

Maybe try using the onload instead of onreadystatechange handler for the FF portion? chrisandrada <chrisandrada@...> wrote:...
Jeff Woodman
sanctumvoid
Offline Send Email
Jun 28, 2006
1:48 pm

Hi, 'POST' does not make a ny sense with xmlhttp, coz it can't submit a form. 'POST' is equivalent to the request to a server - 'Please accept this form and...
R Krishnakumar
kkr_nair2000
Offline Send Email
Jun 29, 2006
3:01 pm

hi Got your problem. You are using Firefox 1.5?? Was that correct? Then let me tell you that its a bug in 1.5 that it doesnt work properly on...
amsm_in
Offline Send Email
Jul 1, 2006
11:12 am

Hay can you tell me about in any Ajac debbuging s\w is there. Thank you amsm_in <amit.s.mahajan@...> wrote:...
pritesh loke
priteshloke
Offline Send Email
Jul 4, 2006
2:21 pm

Dear Pritesh, I suggest you to test everything with mozilla firefox and download developer tools for both IE and Firefox. In firefox there is one tool called...
amsm_in
Offline Send Email
Jul 5, 2006
10:06 am

hi all, i need help on my code. when i submit the form onsubmit... i call ajax to fetch if the inputs are valid... but before ajax makes a round trip... the ...
christopher andrada
chrisandrada
Offline Send Email
Oct 27, 2006
5:50 am

hi Crhistopher, you make the button to 'button' type rather 'submit' call the validate function on 'onclick' event rather 'onsubmit' use javascript submit()...
Sreeni .A
sreeniaitist
Offline Send Email
Oct 30, 2006
9:12 am

yeah... that's probably the only way... good idea tho. thanks ... ____________________________________________________________________________________ Get your...
christopher andrada
chrisandrada
Offline Send Email
Nov 2, 2006
7:49 pm

I'm using 4 and still not getting the right value... thanks for the help. chris ... __________________________________________________ Do You Yahoo!? Tired of...
christopher andrada
chrisandrada
Offline Send Email
Jul 4, 2006
2:50 pm

I suggest you to read following things http://www.quirksmode.org/blog/archives/2005/09/xmlhttp_notes_a_1.html ...
amsm_in
Offline Send Email
Jul 5, 2006
9:58 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help