jQuery post broken somewhere in returned data handling. Sanity Check please
===

Someone tell me please, what is wrong with this, where and how.. if at all. Its driving me insane. I can tell you assume all variables are valid and working just find. The issue I am having is none of the alerts are alerting, I am trying to figure out where this piece is defunc but Im not getting errors which is enough to drive me insane after messing with it for 2 days now.

This scripts back end does pass a valid JSON object, it does everything it is expected to do server side based on all variable passed in the post. but on the return, I seem to be losing it somewhere. at the very least the first alert for regData should give me `[object Object]` and all the other alerts should alert something respectively. All in all again everything matches, I dunno how many times I've done post/get/other via jQuery and this ones got me stumpped. 

			$.post(uri, { "email":email, "lon":lon, "lat":lat, "firstname":firstname, "password":password }, function(regData)
			{
				alert(regData);
				if(regData.status == "fail"){alert(regData.msg);}
				else if(regData.status == "error"){window.location = 'index.html';}
				else if(regData.status == "success")
				{
					alert(regData.status);
					
					if($('#Mobile').length > 0)
					{
						setTimeout(function(){window.location = 'index.html';/* setRegIDCookie(regData.msg.uid); */}, 1500);
					}
					else
					{
						alert('thats odd');
					}
				}
				else
				{
					alert(regData.msg);
				}			
			}, 'json');