Bug Tracker

Modify

Ticket #11577 (closed bug: invalid)

Opened 13 months ago

Last modified 13 months ago

A issue after $.post

Reported by: shaolizhi2010@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.2
Keywords: Cc:
Blocking: Blocked by:

Description

Hi, I am using the jquery-1.7.2

here is the code:

                var t=1;
 		
 		$.post("backend.jsp",
		{param:'param'},
	 	function(data,textStatus){
			t=2;
	 	});
	 	
	 	alert(t);//alert 1 in ff, alert 1 in ie
 		alert(t);//alert 2 in ff, alert 1 in ie

code end.

I think it should alert 2 two times, is this a bug, thanks!

Change History

comment:1 Changed 13 months ago by dmethvin

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

Please ask for help on a forum, this is not a bug report.

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.