Paramaeter, Passing parameter in HTML |
Paramaeter, Passing parameter in HTML |
jkusmanto |
Oct 18 2006, 05:17 AM
Post
#1
|
Group: Members Posts: 1 Joined: 18-October 06 Member No.: 475 |
Hey All,
How can I pass parameter(s) between html's ? I have tried, but didn't success. Here is my code: <!-- callit.html --> <html> <head> <title>Untitled</title> </head> <body> <a href="callpara.html?param=nl">Nederlands</a><br /> <a href="callpara.html?param=fr">France</a><br /> <a href="callpara.html?param=de">Duits</a><br /> <a href="callpara.html?param=en">English</a> </body> </html> <!-- callpara.html --> <html> <head><title>Call with parameter</title></head> <body> <table> <tr><td>The parameter is: <%= "param" %></td></tr> <tr> <td> <% if request("param")="fr" then %>France<% elseif request("param")="nl" then%>Nederlands <% elseif request("param")="de" then%>Duits<% elseif request("param")="en" then%>English<% end if %> </td> </tr> </table> </body> </html> Please help me!!! Rgds, JK |
Christian J |
Oct 18 2006, 05:57 AM
Post
#2
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
I'm not familiar with ASP, but this might help: http://www.w3schools.com/asp/asp_inputforms.asp (section about Request.QueryString).
|
Lo-Fi Version | Time is now: 24th April 2024 - 11:08 AM |