| |
moni
Posts: 2
Score: 0
Joined: 5/14/2008
Status: offline
|
i have a form in an asp page with 2 buttons.. the 1st button redirects it to the same page but with different coding.. <form name="form1" method="post" action="SAMEPAGE.asp"> 2nd button needs to redirect it to a htm page.. what should i do?? i tried with a SUB.. but its not working.. no error is being shown but page is not getting redirected. sub func() response.Redirect("NEWPAGE.htm") end sub <input name="btn2" type="button" onClick="vbscript:func"> should i use another form & submit it to the NEWPAGE.htm. i want to use a sub for this... can u please resolve it !
|
|