email, zipcode, and password confirm problem

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Apr 2004
Posts: 59
Reputation: world_weapon is an unknown quantity at this point 
Solved Threads: 2
world_weapon's Avatar
world_weapon world_weapon is offline Offline
Junior Poster in Training

Re: email, zipcode, and password confirm problem

 
0
  #11
Sep 23rd, 2007
I wonder why, but for some reason FF and IE call testZip() and testEmail() with the params fine. They both call writeTo() and writeTo() does update the div.innerHTML even when I had the BR tag with the < and when I replaced it with &lt; it still updated it. testEmail() and checkPass() which are after the writeTo() function should have the same problem of testForm() because they came after the writeTo() function as well, but only testForm() doesnt respond. I dont understand why the other buttons that pass params work, but the one function that doesnt pass any params from the button doesn't. Even checkPass() wich passes params to the isPassword() internally works. But testForm(), which would call all three functions, does not, while it also passess params internally. Even with the parameter passing being wierd, why would the other two functions that receive params from the onclick work and the checkPass() function that has two params coded into it would work and not the testForm. Have you tried the code in a browser? I have tested it in FF2 and IE6 and both behave the same. Run the three buttons and don't respond on the "check" button. How would you suggest I write the code so that this doesn't happen?
The purpose of my existence is why I am here.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,210
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 165
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: email, zipcode, and password confirm problem

 
0
  #12
Sep 29th, 2007
The fact that a browser will interpret wrong code "the way I meant it to work" does not mean that other browsers will do so, nor does it mean that the browser will continue to do so in the future.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 4351 | Replies: 11
Thread Tools Search this Thread



Tag cloud for JavaScript / DHTML / AJAX
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC