...

View Full Version : cheesy pickup line generator



seidonick
09-16-2005, 01:21 PM
What's wrong with this?

http://users.rcn.com/paul.elitzik/random_pickup_lines.htm

Pyth007
09-16-2005, 01:38 PM
When I loaded the page, I got an "expecting ;" error (at line 22) meaning you are probably:
1) Missing a ; (or used a colon ( : ) instead of a semi-colon ( ; ) )
2) ()'s aren't matched up
3) ""'s aren't matched up

Since you didn't post the .js file, we can't really tell beyond that.

BTW: the error of "Object expected" that I got when pressing a button probably stems from the previous error; it's probably looking for a method, but with the missing ; , it thinks everything afterwards is one horrendous statement, including the "missing" method!

Canuck WebGeek
09-16-2005, 05:47 PM
you may also want to read this (http://www.codingforums.com/showthread.php?p=178016#post178016)

martin_narg
09-16-2005, 06:23 PM
change this line (line 21 of your js file):

pickupArray[11]=" Can I have directions? [/"To where?/"] To your heart."To:

pickupArray[11]=" Can I have directions? [\"To where?\"] To your heart."

m_n

seidonick
09-25-2005, 06:57 PM
but it still doesn't work

rm-f
09-25-2005, 07:17 PM
terminate string in line 24

pickupArray[14]="Blah blah "



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum