hi everyone,

how to apply the sub function under the "input" tag?i have tried the 
below but not success, please advice, thanks..

Sub cal()
If request.form("existannual")=0 Then
request.form("deductedannual")=0
request.form("unpaidleave")=totalleave
End If

<input type="submit" name="combutton" value="APPROVE" onclick="<% cal 
%>">




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/saFolB/TM
---------------------------------------------------------------------~->

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 

Reply via email to