Get rid of the the extra stuff befor the event attribute. So it should look like this:
<input name="b1" type="button" value="CANCEL APPOINTMENT" document.apptcalendar.b1.onClick="javascript:PrcsBtn1();">
You also don't need the "javascript:"
So this is what it turns to:
<input name="b1" type="button" value="CANCEL APPOINTMENT" onClick="PrcsBtn1();">
samaru
a.k.a inscissor
1,256 posts since Feb 2002
Reputation Points: 262
Solved Threads: 18