SOLVED in the last answer
im getting following error, dunno where and why? cause code works fine and i dont know what is wrong, please suggest something :$
uncaught exception: Syntax error, unrecognized expression: #
Line 0
why code and functionality works totally fine, even when this error show.. but it dont work in ie, so i need to fix this.
following is the callback function that runs when error shows;
built_list: function (response)
{
var parent_id = 0;
var selected_id = 0;
var breadCrump_count = response.bread_crump.length;
if (breadCrump_count > 1)
parent_id = response.bread_crump[(breadCrump_count-2)].album_id;
$("#album_listing_selected_parent").val(parent_id);
......
}
$("#album_listing").jScrollPane({showArrows:true, scrollbarWidth:20, arrowSize:15, reinitialiseOnImageLoad:true, wheelSpeed: 28});
},
Edited:
im using firefox
this bug i got is in firebug
i just try testing some stuff and i actually commented all the built_list inside code and the error still show, so its not inside built_list, BUT error trigger after we get ajax response. i have some other ajax on the application, which works fine, but this one shows this error. im still confuse, im gonna check what is doing before it sends to ajax. actually following is the code that makes the ajax call
$(".view_sub_album").live('click', function() {
album.get_list(album.getID(this), 0);
//$("#album_listing > ul").html('<li></li>'); // empty for new selected albums
return false;
});
Edited Again:
if i remove the following line, then the error hides and yes the error is exactly same as i wrote in start, which was from firebug. anyway i think jScrollPan overrights clicks! or soemthing.. cause when i removed the jScrollPan line, it dont give error anymore.
$("#album_listing").jScrollPane({showArrows:true, scrollbarWidth:20, arrowSize:15, reinitialiseOnImageLoad:true, wheelSpeed: 28});
after lots of test and debugging, the answer is:
you have to get the jscrollPan from the svn source code and not the old release from the download section, because old version dont have fix and links inside the Scoller start giving the above error. sorry guys, its stupid thing, but thats what it solved.