GezH
Programmer
- Aug 7, 2002
- 68
Hi.
I want to substitute my <a href="xxxxx"> for an onclick() which calls a function. In that function I want to ask the user to confirm() an action. If 'ok' is pressed, I want to continue with submitting as if the link had been correct in the first place.
How do I submit() as if the link had been pressed? I don't want it acting as if a form had been submitted, just an href link.
Hope you can help, thanks.
I want to substitute my <a href="xxxxx"> for an onclick() which calls a function. In that function I want to ask the user to confirm() an action. If 'ok' is pressed, I want to continue with submitting as if the link had been correct in the first place.
How do I submit() as if the link had been pressed? I don't want it acting as if a form had been submitted, just an href link.
Hope you can help, thanks.