Hello,
I have this code which opens "checklogin.asp" after I clicked the button.

My questions is whether I can call a vbscript block of code INSTEAD of posting to another page. IE. When the button is clicked I want to run a piece of VBSCRIPT/ASP code called "update".

How do I define this block of code in my page?? Is it the same as with javascript??

<form name="frmcheck" id="frmcheck" method="POST" action="checklogin.asp" align="center">

'some other code

<input type="button" value="Update" name="B1">