[jQuery] jScrollPane ie error on ajax response
I've been using the jScrollPane on two divs in my page.
Everything works fine in FireFox and Safari, but both IE 6 & 7 returns
an error.
if I remove the line, i get no errors in IE.
[code]
$(holdTracks).jScrollPane();
[/code]
The error I do get with this line in place is in the jQuery file, I've
tried version 1.2.3 and 1.2.4
The error is
[code]
if(value!=undefined)elem[name]=value;return elem[name];}
[/code]
this error means nothing to me.
here's the code I'm using.
First the code where the jScroll breaks in IE
[code]
$.ajax({
type: "GET",
url: "processes/getTracksList.php",
data: "bandid="+bandid,
success: function(response){
var holdTracks = $('.holdSongs#'+bandid);
$(holdTracks).html(response);
$(holdTracks).jScrollPane();
[/code]
and almost the same code, but does not error in ie, but also does not
create the scrolling list
[code]
$.ajax({
type: "POST",
url: "processes/showList.php",
data: "lat="+point.y+"&long="+point.x+"&genre="+genre+"&page="+page
+"&address="+addressQ+"&distance="+range,
success: function(response){
$('#holdBands').html(response);
$("#holdBands").jScrollPane();
$('.searchHolder').hide();
$('#filterList').show();
return false;
}
});
[/code]
i've tried adding the bgiframe plugin, and i've checked my DTD as I
understand those can help fix weird things in ie.
my DTD is
[code]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
[/code]
anybody used jScrollPane within an .ajax response? the demo shows
using the .load function, but I need to set parameters and run further
functions, so I think I need the .ajax.
thanks
Pete