Skip to main content

Bug Tracker

Side navigation

#11577 closed bug (invalid)

Opened April 10, 2012 02:50PM UTC

Closed April 10, 2012 02:58PM UTC

A issue after $.post

Reported by: shaolizhi2010@gmail.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:
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!

Attachments (0)
Change History (1)

Changed April 10, 2012 02:58PM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

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