post with hyperlink

Results 1 to 2 of 2

Thread: post with hyperlink

  1. #1
    Join Date
    Dec 1969

    Default post with hyperlink

    Hi,<BR> I want to post some data from one asp page to another asp when I click a hyperlink. I have used href="javascript:form1.submit()" in my code. But it works only in IE but not in NS. Can you please let me what could be the problem and how to fix it.<BR><BR>Thanks.

  2. #2
    Join Date
    Dec 1969

    Default RE: post with hyperlink

    I would get rid of the submit in the hyperlink, and place it in a js function.<BR><BR>&#060;A HREF="javascript:SubmitForm()"&#062;This is the link&#060;/A&#062;<BR><BR>&#060;SCRIPT LANGUAGE="Javascript"&#062;<BR>function SubmitForm() {<BR>document.formname.submit();<BR>}<BR>&#060;/SCRIPT&#062;<BR><BR><BR>HTH<BR><BR>Jerry

Posting Permissions

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