...

View Full Version : pass var in href



jewel
08-18-2005, 06:26 AM
hi how can I pass the value of a variable to a href url?
[code]
var tag = 'hello';
.location.href = 'wDoxContent.aspx?type=folder&name=tag ---?????
[/code

thanks

Brandoe85
08-18-2005, 06:39 AM
.location.href = 'wDoxContent.aspx?type=folder&name=' + tag
?

jewel
08-18-2005, 07:59 AM
thanks



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum