Results 1 to 5 of 5

Thread: HTML - Help with link to another page

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 2005
    Posts
    243

    HTML - Help with link to another page

    I want to make the value from the recordset a link to another page. The page being viewed is in Section/People/default.asp. I want the link to go to Section/IEP/default_page.asp. Any help???

    HTML Code:
    <a href="//section/IEP/default_page.asp"> "&trim(tRs("Exceptionality"))&"&nbsp;"&" </a>
    Last edited by zombie_man23; Jul 26th, 2005 at 03:52 PM.

  2. #2
    Hyperactive Member ninjanutz's Avatar
    Join Date
    Jun 2005
    Location
    Bayside
    Posts
    256

    Re: HTML - Help with link to another page

    since ur using a relative URL im assing the thing u are linkin is on ur computer and in a near by folder. try ../ insteaD of //
    and wat exactly does this mean..I want to make the value from the recordset a link to another page. ( "&trim(tRs("Exceptionality"))&"&nbsp;"&" )

    (in new so if this doesnt work dont yell at me lol)

  3. #3
    New Member
    Join Date
    Jul 2005
    Posts
    3

    Re: HTML - Help with link to another page

    Is this what you mean:

    Code:
    <a href="<%= trim(tRs("Exceptionality") %>"> <%= trim(tRs("Exceptionality"))&"&nbsp;" %> </a>
    Hope this helps...

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Jun 2005
    Posts
    243

    Re: HTML - Help with link to another page

    Sorry zingmatter...that didn't work.

    To explain my problem more:
    In the database there are 5 Exceptionality codes (EH, TY, BC, AA, PT). A person in the db may or may not have an exceptionality code associated with them. If they do have an exceptionality code associated with their name, I want the exceptionality code value, EH, TY, BC, AA, or PT, to be a link to another page. So when they click on EH, TY, BC, AA, or PT, that will take them to another page.

    The page that all the information is loaded to is in /section/people/default.asp. I want the link to take the user to /section/iep/default.asp.

    Hope this explains my problem better.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Jun 2005
    Posts
    243

    Re: HTML - Help with link to another page

    I had a syntax error. I was putting double quotes around my href instead of single quotes. Here is what worked. Thanks for the help.

    HTML Code:
    <a href='../IEP/default_page.asp'>"& trim(tRs("Exceptionality")) &"&nbsp;"&"</a>

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