Printer Friendly Version Print this thread
Email this thread to a friend eMail this thread to a friend
Related Forum Posts
  1. Does google understand javascript? (In: General Search Engine Optimization)
Featured Web Site Template

Hundreds More at Free Site Templates.com!

Web Site Partners
Sponsored Links
Jet City Software
 
Whos Here ?
Reflects user activity within the last 5 minutes
Member Message

bob_majewski
Joined: Nov 30, 2004
# Posts: 16

View the profile for bob_majewski Send bob_majewski a private message

Posted: 05/08/2005 01:43 am
Edit Message Delete Message Reply to this message

hey guys,
I've been trying to understand this for a while but have had no success... I must admit programming isn't my strongest subject. Is there anyone out there who could help me with this problem?:) I've been given the following code and have to fix all the errors to get it working correctly:


Code: [copy]





Any help would be greatly appreciated...



lizardz
Joined: Nov 12, 2004
# Posts: 1394

View the profile for lizardz Send lizardz a private message

Posted: 05/08/2005 10:56 am
Edit Message Delete Message Reply to this message

"I've been given the following code and have to fix all the errors to get it working correctly:"

What are the errors, with programming questions it helps to post specific questions to specific problems. If you use a javascript debugger, for example the venckman extension with Firefox, you will get a line by line error output, which will let you post the error numbers.



g1smd
Staff
Joined: Jul 28, 2002
# Posts: 10288

View the profile for g1smd Send g1smd a private message

Posted: 05/08/2005 01:58 pm
Edit Message Delete Message Reply to this message

What is the code supposed to be doing?

What does it actually do?



Curt
Joined: Eons Ago
# Posts: 3718

View the profile for Curt Send Curt a private message

Posted: 05/09/2005 05:15 am
Edit Message Delete Message Reply to this message

I don't know how you got that code, but if you retyped it, you need to be careful about copying code. I found a couple syntax issues. Examples:
if (degree = "" )
...should be:
if (degree == "" )
(notice double equal signs correction)

if (chosenGender==noll)
...should be:
if (chosenGender==null)
("noll" spelled incorrectly; should be "null"wink

There is a missing "OR" operand (two "" pipe symbols). It might be this board won't allow them... will see if my pipe symbol posts to this board.

g1smd, the script is suppose to email form results.

[ Message was edited by: Curt 05/09/2005 05:28 am ]





Curt
Joined: Eons Ago
# Posts: 3718

View the profile for Curt Send Curt a private message

Posted: 05/09/2005 05:26 am
Edit Message Delete Message Reply to this message

Dang, can't post pipe symbols. Think those are important to be able to include when we are talking code.

John Cokos to do list:
• convert pipe symbols to html friendly code so we can see them (aka pipe is written as "|" ) wink



g1smd
Staff
Joined: Jul 28, 2002
# Posts: 10288

View the profile for g1smd Send g1smd a private message

Posted: 05/09/2005 06:37 am
Edit Message Delete Message Reply to this message

Use a * in the forum example to show where the pipe symbols should be, for now.

The plain text email address visible in the script code will be harvested by bots within days.
You need to protect the email address.


You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
  1. You have not yet logged in, or registered properly as a member
  2. You are a member, but no longer have posting rights.
  3. This is a private forum, for which you do not have permissions.

If you are a recent member, it's possible that you simply have not yet confirmed your account. Please check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions contained within.

If you cannot find this message, click here to Re-Send it.

If you are still experiencing problem, please read the Login Assistance Article for some advice on what may be causing your login not to work properly.

Switch to Advanced Editor and ... Create a New Topic or Reply to this Thread

New posts Forum is locked
© 1995  ·  iWeb, Inc  ·  DBA JimWorld Productions