Results 1 to 4 of 4
Thread: JQuery Dialog Confirmation
Feb 26, 2014, 06:56 #1
- Join Date
- Feb 2014
- 0 Post(s)
- 0 Thread(s)
JQuery Dialog Confirmation
I have searched many forums and I can't seem to find the answer to a challenge I am faced with.
Please see my code below.
I have a list of anchors with either a class "confirm" or "button-disabled". When I click on the anchor via jQuery, the function executes a expected and the dialog opens up but the function does not wait for a response from the dialog. It just continues straight through the rest of the function and navigates to the href location of the anchor without confirmation. I basically first want confirmation before allowing the browser to redirect to the anchors href.
I have tried an alternative way to do it but it's not the ideal way to do it and it's not practical. Can anyone give me some advice?