Modify ↓
Ticket #7042 (closed bug: worksforme)
ajax get not working after confirm-box
| Reported by: | c.hiller76 | Owned by: | |
|---|---|---|---|
| Priority: | Milestone: | 1.4.2 | |
| Component: | ajax | Version: | 1.4.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
To demonstrate the bug, this functions first alerts the data retrieved by "time.php", then it asks to confirm by clicking OK, and then it retrieves again data, but this time data is empty...
function something(){
$.get("time.php",function(data){alert(data);}); var answer = confirm ("Confirm please"); if (answer){ $.get("token.php",function(data){alert(data);}); }
}
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Thank you for your report, but this is not a jQuery bug. Please use the jQuery forum for support.