Hi guys,
I have the following logic:
echo "<input type=submit name=addsubmit value=Add onClick=javascript:lastCheck()><td>\n"
javascript lastCheck() just pops-up a Confirmation dialog wit Ok/Cancel buttons.
If a user Press Cancel, I want use to stay on the same page, and if Ok was press, submit should work.
Right, when either button is pushed, submit is pefrormed. Does anyone know how can stay on the same if Cancel button was chosen?
Thank you!