View Full Version : cheesy pickup line generator
09-16-2005, 01:21 PM
What's wrong with this?
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!
09-16-2005, 05:47 PM
you may also want to read this (http://www.codingforums.com/showthread.php?p=178016#post178016)
09-16-2005, 06:23 PM
change this line (line 21 of your js file):
pickupArray=" Can I have directions? [/"To where?/"] To your heart."To:
pickupArray=" Can I have directions? [\"To where?\"] To your heart."
09-25-2005, 06:57 PM
but it still doesn't work
terminate string in line 24
pickupArray="Blah blah "
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.