[jQuery] ie problems with jquery - xhr.open(type,s.url,s.async)
I've got a simple web page that works fine in FF, but chokes in IE, both 7
and 8. All pages are local, including popup.php. I am displaying tables with
data from a mysql db - the tables display, but the error comes in when I
include the function popup js code. The error is "permission denied, code0".
the debugger leads me to line 28 in jquery - xhr.open(type,s.url,s.async).
Again, this all works in FF (and Safari), but IE throws an error. Can
anyone help me figure out what this is all about?
[code]
function popup(gameno, newdate, opponent) {
var url = 'popup.php?gameno='+ gameno + '& date=' +newdate + '&
opponent=' +opponent;
$('<iframe id="popup" src="' + url + '" />').addClass("flora").dialog({
modal: true,
resizable: true,
bgiframe: true,
autoResize: true,
overlay: {
opacity: 0.5,
background: "#A8A8A8"
},
title: opponent + " " + newdate,
autoOpen:true,
resizable:true,
width: 850,
height: 500,
buttons: {
'Close': function() {
$(this).dialog('destroy')
}
}
});
}
[/code]
--
View this message in context: http://www.nabble.com/ie-problems-with-jquery---xhr.open%28type%2Cs.url%2Cs.async%29-tp21232878s27240p21232878.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.