• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1366
  • Last Modified:

how to pass a value to another html through anchor tag

thing is,
   i would like to send parameter to asp from anchor tag .
 that asp take this parameter and generate dynamically a html page.

 please help me.

thanks
bapireddy
0
bapireddy
Asked:
bapireddy
1 Solution
 
ykf2000Commented:
did you mean this

<a href="your_target_page.htm?var=test">Go</a>


0
 
bapireddyAuthor Commented:

please fallow my steps

  this is the anchor tag i put in one HTML
<a href="main1.asp?acct#=111"> hello </a>

when ever i click on hello, i call main1.asp with acct#=111 as parameter

in main1.asp i received parameter in the following way
is it correct? but it is not working

<INPUT TYPE="TEXT" NAME=name1 size=20
value="<%=request.Querystring("acct#")%>">

please check it
0
 
bapireddyAuthor Commented:

please fallow my steps

  this is the anchor tag i put in one HTML
<a href="main1.asp?acct#=111"> hello </a>

when ever i click on hello, i call main1.asp with acct#=111 as parameter

in main1.asp i received parameter in the following way
is it correct? but it is not working

<INPUT TYPE="TEXT" NAME=name1 size=20
value="<%=request.Querystring("acct#")%>">

please check it
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
CJ_SCommented:
Don't use the #-sign.
0
 
COBOLdinosaurCommented:
To close this out, I will be making a recommendation to CS
in about a week.  I would appreciate any comments from the
participants on how it should be disposed of.

Cd&
0
 
COBOLdinosaurCommented:
It is time to clean this abandoned question up.  

I am putting it on a clean up list for CS.

<recommendation>
points to CJ S

</recommendation>

If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.

Cd&
0
 
Computer101Commented:
Comment from CJS accepted as answer.

Thank you
Computer101
Community Support Moderator
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now