Looking to Build/Redesign a Website or Blog ?

To speak to Rakshit, call +91 968 704 2303

August 14, 2010


Error Solved Safari/Crome:’$(document).ready’ [undefined] is not a function

Today i was working with prototype.js and jQuery modal box. From the begining, prototype.js is for Ajax call and now as per client’s requirement i was replacing jQuery in place of dojo library. In Mozilla Firefox (FF) and Internet Explorer (IE), it works fine but i was getting error only in Crome and Safari. Error says “TypeError: Result of expression ‘$(document).ready’ [undefined] is not a function”.