calling a function with a link

Results 1 to 2 of 2

Thread: calling a function with a link

  1. #1
    Join Date
    Dec 1969
    Posts
    134

    Default calling a function with a link

    How do I call a function with a link in ASP?<BR><BR>i.e.<BR>&#060;A HREF="&#060;%gtData%&#062;"&#062;<BR>or<BR>&#060;A HREF="#" onclick="&#060;%gtData%&#062;"&#062;<BR><BR>I have tried bith versions but to no avail<BR><BR>Thanks,<BR><BR>Ron

  2. #2
    Join Date
    Dec 1969
    Posts
    1,388

    Default RE: calling a function with a link

    You can&#039t call a function from a link because when the event of you clicking on the link is happening after you have the page locally on the browser. ASP happens on server side before you send it to the browser and cannot be called back to in this way because of the static nature of the HTTP protocol.

Posting Permissions

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