J
jobs
re: Attributes.Add Onclick (javascript) trapping CANCEL
Hello. The following asp.net/vb.net code produces a confirmation
Submitbutton.Attributes.Add("onClick", "return confirm('Is this
okay?')")
My question is, when the confirmation comes up, I want cancel to do a
back. Currently it just stops the form from posting.
any suggestions?
Hello. The following asp.net/vb.net code produces a confirmation
Submitbutton.Attributes.Add("onClick", "return confirm('Is this
okay?')")
My question is, when the confirmation comes up, I want cancel to do a
back. Currently it just stops the form from posting.
any suggestions?