Results 1 to 3 of 3

Thread: Dynamic href

  1. #1

    Thread Starter
    Fanatic Member drpcken's Avatar
    Join Date
    Apr 2004
    Location
    devenv
    Posts
    591

    Dynamic href

    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!

  2. #2
    Addicted Member
    Join Date
    Nov 2004
    Posts
    149

    Re: Dynamic href

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

    Just like that.

  3. #3

    Thread Starter
    Fanatic Member drpcken's Avatar
    Join Date
    Apr 2004
    Location
    devenv
    Posts
    591

    Re: Dynamic href

    Ahhh i was doing it like this

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

    i'll try this. thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width