Passing value in hyperlink

Results 1 to 3 of 3

Thread: Passing value in hyperlink

  1. #1
    Steve Rowson Guest

    Default Passing value in hyperlink

    I am looping through a recordset and displaying it in rows of a table. One of the cells has a text box which initially displays a value from the recordset. The text box is editable. I have a hyperlink at the end of each row and I would like to pass the value of the text box (after a user has updated it - so it is literally what the text box now contains - not the recordset value) in the hyperlink. What is the syntax please?

  2. #2
    Chalam( Guest

    Default RE: Passing value in hyperlink

    hi <BR>Try the following<BR>&#060;A HREF="javascript:SetHyperLink()"&#062;<BR><BR><BR> &#060;SCRIPT LANGUAGE="VBScript"&#062;<BR><BR>Sub SetHyperLink()<BR>temp=form1.T1.value<BR> location.href = "navbar.asp?Value=temp"<BR>End Sub<BR>&#060;/SCRIPT&#062;<BR>If you have any problem with this-please let me know .I can send you example.<BR>By<BR>

  3. #3
    Steve Rowson Guest

    Default Couldnt get it to work

    Thanks for reply but have you a javascript example so it will work in all browsers? thanks

Posting Permissions

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