calling a vb script function

Results 1 to 2 of 2

Thread: calling a vb script function

  1. #1
    jilly Guest

    Default calling a vb script function

    Hi Guys!<BR>How do I call a vb script function from a button or html image?<BR>I have the code for the image &#060;image src= "whatever.jpg" onclick="????" What do I need to put in the onclick area? Like if I have a sub of <BR><BR>sub image_onclick<BR>ID=Request.QueryString ("id")<BR>set rs=conn.Execute("Select Name from table where ID=" & LotID)<BR>Response.Redirect("whereever.asp?name=" & rs("Name"))<BR>End sub<BR><BR>How would I call it in the image tag?<BR>Thanks!!!<BR>Jillian <BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: calling a vb script function

    1.<BR><BR>don&#039;t use VBScript client-side<BR><BR>2.<BR><BR>you don&#039;t need to put anything in the &#060;img&#062; tag with VBScript<BR><BR>3.<BR><BR>RTFM<BR><BR>j

Posting Permissions

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