PDA

Click to See Complete Forum and Search --> : Dynamic href


drpcken
Mar 24th, 2005, 03:39 PM
I have some links in my aspx pages that need to be dynamic. Not really the link, but the parameters in the link.

the link will need to be <a href="page.html?tokenID="></a>

but the tokenid parameter will need to be pulled from a paramter of the same name in the current url. how can i accomplish this?

Thank you guys!

token
Mar 24th, 2005, 03:45 PM
<a href="page.html?tokenid=<%= request.querystring("tokenid") %>">

Just like that.

drpcken
Mar 24th, 2005, 03:54 PM
Ahhh i was doing it like this

<a href="page.html?tokenid=<%Response.Write( request.querystring("tokenid") )%>">

i'll try this. thanks!