
April 14th, 2000, 03:53 AM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,578
  
Time spent in forums: < 1 sec
Reputation Power: 22
|
|
|
<i><b>Originally posted by : nagaraju Sathrasala,span systems corporation (nag_sathrasala@hotmail.com)</b></i><br />Write a function in script tag, whcih will submit<br />the form. And call the function in the hyperlink.<br /><br />Example:<br />1)assume that u got a Asp Page called AddUser.asp<br /><br />code for form tag:<br /><form NAME="frmData" Method="Post" action="AddUser.asp"><br /><br />function code:<br /><script language="Javascript"><br />function SubmitData()<br />{<br /> document.frmData.submit()<br />}<br /></script><br /><br />hperlinkcode:<br /><a href="javascript:SubmitData()">[linkname]</a><br /><br />------------<br />aruna at 4/13/2000 5:27:31 AM<br /><br /> How to submit a page to itself when a hyperlink within the<br />page is clicked.<br />
|