Bug Tracker

Modify

Ticket #7042 (closed bug: worksforme)

Opened 3 years ago

Last modified 3 years ago

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

comment:2 Changed 3 years ago by snover

  • Status changed from new to closed
  • Resolution set to worksforme

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.