Is it possible?

Results 1 to 2 of 2

Thread: Is it possible?

  1. #1
    Ran Guest

    Default Is it possible?

    Hello,<BR><BR>I need to call a function on an ASP page,<BR>in response to a click on an image (the function<BR>changes a cookie value).<BR>Can I do it using VBScript (something like OnClick<BR>in JavaScript)?<BR><BR>PLEASE HELP...

  2. #2
    Join Date
    Dec 1969

    Default RE: Is it possible?

    Yes, you can do it. All you need to do is add a parameter to the query string. I&#039ve done this using an href= in the image tag as well as using &#060;a&#062; tags to send the query string.<BR><BR>&#060;A HREF=""&#062;&#060;IMG HEIGHT="20" WIDTH="20" SRC="images/someimage.gif" BORDER="0" NAME="yourimagename" ALT="Click me!"&#062;&#060;/A&#062; <BR><BR>When your page "sees" the cookie=1 in the query string, it can write a cookie.

Posting Permissions

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