Lost Password?

  #1 (permalink)  
Old 04-28-2008, 02:06 PM
Xav's Avatar   
Xav Xav is online now
Code Warrior
 
Join Date: Mar 2008
Location: London, England
Posts: 5,000
Last Blog:
Web slideshow in JavaS...
Rep Power: 43
Xav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to behold
Send a message via MSN to Xav
Question Form Help

I have an HTML form that sends data to a PHP form. However, to increase speeds I have decided to validate the data before sending. So, instead of a "submit" button I have used a normal "input" button, and called a JavaScript procedure. I reference the form as "frmFeedback", the name I gave to the form in HTML.

In IE it works perfectly, but in Firefox I get a message that frmFeedback is not defined. I have set it to both the "id" and "name" attributes of the form, but with still no success. Any ideas?
__________________
[TRUTH] TcM is the best moderator ever! [/TRUTH]
"Valid XHTML is like sex - everybody claims to have the same goal, but everybody has their own tricks and results vary wildly."
Web Site | Beta Site
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 04-28-2008, 06:42 PM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Age: 26
Posts: 5,857
Last Blog:
Performance or Maintai...
Rep Power: 20
Jordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud of
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default Re: Form Help

Paste your JavaScript code and HTML code and I'll take a look at it.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
Don't hesitate to ask any questions that you have! Check out our ASCII Calculator!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-29-2008, 10:44 AM
WingedPanther's Avatar   
WingedPanther WingedPanther is offline
Super Moderator
 
Join Date: Jul 2006
Age: 35
Posts: 2,035
Last Blog:
NaNoWriMo Day 23 The...
Rep Power: 24
WingedPanther is a jewel in the roughWingedPanther is a jewel in the roughWingedPanther is a jewel in the roughWingedPanther is a jewel in the rough
Default Re: Form Help

In Firefox, I use the Firebug extension for debugging JavaScript on a regular basis. It has helped me debug several odd errors and find the correct solutions to them.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum
Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-16-2008, 12:51 PM
Xav's Avatar   
Xav Xav is online now
Code Warrior
 
Join Date: Mar 2008
Location: London, England
Posts: 5,000
Last Blog:
Web slideshow in JavaS...
Rep Power: 43
Xav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to behold
Send a message via MSN to Xav
Default Re: Form Help

Er, I don't have the code anymore, so I can't post it. It was just a basic <form> with an OnSubmit function linking to the JavaScript, which works. It's when I tried to access the form in JS that failed. No matter, I'm not using it anymore.
__________________
[TRUTH] TcM is the best moderator ever! [/TRUTH]
"Valid XHTML is like sex - everybody claims to have the same goal, but everybody has their own tricks and results vary wildly."
Web Site | Beta Site
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 05-17-2008, 05:15 AM
chili5's Avatar   
chili5 chili5 is online now
Guru
 
Join Date: Mar 2008
Age: 15
Posts: 2,820
Rep Power: 24
chili5 is just really nicechili5 is just really nicechili5 is just really nicechili5 is just really nicechili5 is just really nice
Default Re: Form Help

You should get Fire bug to help you debug your Java Script.
__________________
Success is the ability to go from failure to failure without losing your enthusiasm. ~ Winston Churchill
Braingle
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #6 (permalink)  
Old 05-17-2008, 11:03 AM
Xav's Avatar   
Xav Xav is online now
Code Warrior
 
Join Date: Mar 2008
Location: London, England
Posts: 5,000
Last Blog:
Web slideshow in JavaS...
Rep Power: 43
Xav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to behold
Send a message via MSN to Xav
Default Re: Form Help

I don't need to debug it - I know exactly which line is going wrong, and what the error is. It's more of a question of why Firefox didn't recognize the frmFeedback object, when I'd clearly defined it in the <form> tag.
__________________
[TRUTH] TcM is the best moderator ever! [/TRUTH]
"Valid XHTML is like sex - everybody claims to have the same goal, but everybody has their own tricks and results vary wildly."
Web Site | Beta Site
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 05-17-2008, 11:06 AM
chili5's Avatar   
chili5 chili5 is online now
Guru
 
Join Date: Mar 2008
Age: 15
Posts: 2,820
Rep Power: 24
chili5 is just really nicechili5 is just really nicechili5 is just really nicechili5 is just really nicechili5 is just really nice
Default Re: Form Help

Post the code so we can see it. Might be able to find out why it's not working.
__________________
Success is the ability to go from failure to failure without losing your enthusiasm. ~ Winston Churchill
Braingle
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 05-17-2008, 11:17 AM
Xav's Avatar   
Xav Xav is online now
Code Warrior
 
Join Date: Mar 2008
Location: London, England
Posts: 5,000
Last Blog:
Web slideshow in JavaS...
Rep Power: 43
Xav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to beholdXav is a splendid one to behold
Send a message via MSN to Xav
Default Re: Form Help

Read my post above. I don't have the code anymore, and I don't need the problem fixed anymore either, as I've scrapped the project to work on something else.
__________________
[TRUTH] TcM is the best moderator ever! [/TRUTH]
"Valid XHTML is like sex - everybody claims to have the same goal, but everybody has their own tricks and results vary wildly."
Web Site | Beta Site
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
VB2008 Tutorial - Print Screen travy92 VB Tutorials 21 06-19-2008 05:12 AM
Coding a change password form InternetGeek Visual Basic Programming 11 02-16-2008 01:53 PM
Windows form question (select a value from childform and populate in parent form) yasinirshad Visual Basic Programming 1 11-19-2007 11:42 AM
Calling a form from another form Void Managed C++ 1 07-01-2006 09:44 AM


All times are GMT -5. The time now is 04:02 PM.

Contest Stats

John ........ 223.00000
dargueta ........ 168.00000
Xav ........ 164.00000
gaylo565 ........ 18.00000
WingedPanther ........ 15.00000
|pH| ........ 15.00000
Johnnyboy ........ 3.00000
navghost ........ 1.00000

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 65%

Ads