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();">
Reputation Points: 262
Solved Threads: 18
a.k.a inscissor
Offline 1,227 posts
since Feb 2002