<input type="button" name"SubmitToQC" value="SUBMIT to QC"
OnClick="vbscript:MsgBox 'No Information has yet been saved!'">
-- more complex example --
<input type="button" name="ReturnToListing" value="RETURN to Report Listing"
OnClick="vbscript:
Btn=MsgBox('Returning to List will DISCARD any UNSAVED CHANGES' & vbCrLf & vbCrLf & _
'Do you wish to CONTINUE to the List?', vbOkCancel + vbQuestion, _
' Confirmation')
If Btn = vbOK Then Window.location.href = 'User_List_Open.asp'">
NOTE: OnBlur is the best event to check is leaving a textbox.