with: "Syntax error, unrecognized expression: #[object Object]". My $.load call is below. I haven't been able to find any solutions online: maybe my GoogleFu isn't as good as I thought
$(function () {
$(".personPopupTrigger").hover(
function () {
var TheLink = $(this);
var settings = $(this).attr('rel');
if (settings == '')
return;
$("#personPopupContainer").show()
$('#personPopupContent').load('person.aspx?e='+ settings + ' .personPopupResult', function () {
$("#personPopupContainer").position(
{
my: "left bottom",
at: "left top",
of: $("#" + TheLink).parent(),
collosion: 'none'
}
)
});
},
function () {
$("#personPopupContainer").hide();
}
);
});
The response from the server according to Fiddler is:
HTTP/1.1 200 OK
Server: ASP.NET Development Server/10.0.0.0
Date: Fri, 18 Jan 2013 16:38:08 GMT
X-AspNet-Version: 4.0.30319
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 1669
Connection: Close
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">