Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help passing string with variables to function

Status
Not open for further replies.

MartDawg

Programmer
Jan 14, 2004
33
US
openit('some.asp?atime='+escape(atime)'atime2='+escape(atime2),1000,550)

trying to pass the following URL and other values to a function..

pretty new to Javascript, I get a missing ) error?
 

I think your just missing a + sign here
+escape(atime)<

try this

openit('some.asp?atime='+escape(atime)+'atime2='+escape(atime2),1000,550)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top