[jQuery] error - name.match is not a function
On line 782 of jquery-1.3.1.js this line of code makes this error:
name.match is not a function.
On line 782 there is:
if ( name.match( /float/i ) )
I'm trying to write a "news scroller" This is my code:
$(document).ready(function() {
function scroller() {
$("div#newsticker ul li").animate(
$(this).css("left", "-200px"),
"normal",
"linear",
function(){
$(this).css("left", "200px");
scroller();
}
);
}
scroller();
});
Any help would be greatly appreciated.