...

View Full Version : Merging a string and a variable



JoWiGo
07-08-2005, 01:54 AM
Easy question here, it will take little time.

I want to make an external js file which sends a link to another page. So if I wanted to merge "http://www.mysite.com/hereitis?" with a variable called topic, how would i do that?

glenngv
07-08-2005, 05:51 AM
"http://www.mysite.com/hereitis?topic=" + topic



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum