Welcome to WebmasterWorld Guest from 188.8.131.52
Forum Moderators: open
var sOrder = "https://www.paypal.com/cart/add=1&business=Myidnumber&item_name=" + desc + "&item_number=" + item + "&amount=" + cost + "";
Your best bet is to put the site in Netscape, click on the link and then type:
Note: had to leave a space after the colon 'cause I was triggering a "shocked" smilie!
Tedster's edit: You can turn off smilies as needed - checkbox is two up from the submit button
[edited by: tedster at 12:12 am (utc) on Aug. 3, 2002]
Is there really a line break in the stuff going into sOrder?
The easy rule is: except in a few specific cases (e.g. in for statements and literal strings) a semicolon will always end a statement.
var x = a +
...because var x=a+ is not a complete statement. The following, however, is two statements, and the second one gives an error:
var x = a