'$.fn' is null or not an object
Posted
by metal-gear-solid
on Stack Overflow
See other posts from Stack Overflow
or by metal-gear-solid
Published on 2010-04-27T13:02:28Z
Indexed on
2010/04/27
13:03 UTC
Read the original article
Hit count: 386
Problem 1
Error: Microsoft JScript runtime error: '$.fn' is null or not an object
Error area:
$.fn.apply=function(item,content,header){
$(".featureBox"+item).css('z-index', "1000");
$("img.featureBox" + item +"top").attr("src",basepath + "box-big-top.jpg");
$("img.featureBox" + item +"imgcut").attr("src",basepath + "box-big-img"+item+".jpg");
featureboxcont[item].attr("src",basepath + "box-big-cont.jpg");
$("img.featureBox" + item +"foot").attr("src",basepath + "box-big-bot2.jpg");
//$("#NoteModalDialog > #x-dlg-bd > #x-dlg-tab > #acc-ct")
$("#box"+item+"headtext > .h2div > h2").text(header);
$("#box"+item+"bottext").css({"top":"181px","width":"205px","font-size":"12px","color":"#ffffff","left":"10"});
$("#box"+item+"foottext").css({"top":footheight+"px","width":"215px","left":"20"});
$("#box"+item+"hidden").css({"display":"block"});
$("#box"+item+"bottext").text(content);
$("#box"+item+"headtext > .h2div > h2").removeClass("sIFR-replaced");
callsIFR();
}
Problem 2
Error : Microsoft JScript runtime error: 'null' is null or not an object
Error area :
$("#innerWrapper").addClass("js-version");
I'm also using protoype.js on page.
© Stack Overflow or respective owner