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"))&" "&" </a>
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"))&" "&" )
(in new so if this doesnt work dont yell at me lol)
Re: HTML - Help with link to another page
Is this what you mean:
Code:
<a href="<%= trim(tRs("Exceptionality") %>"> <%= trim(tRs("Exceptionality"))&" " %> </a>
Hope this helps...
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.
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")) &" "&"</a>