Black Rhino Blog | “Object Expected” error in Internet Explorer Web Design Westchester | Graphic Design New York | Black Rhino Solutions, Inc
Web Design, Graphic Design, Applcation Development, Logo Design, Writing Services, Social Networking, Content Management System, Corporate Branding, SEO, Website Maintenance in Westchester New York

web design client log in

Black Rhino Marketing - Rhino Room Blog - Web Design and Graphic Design Tips, Updates, News, & Help

Posts Tagged ‘object expected solution’

“Object Expected” error in Internet Explorer

Wednesday, December 9th, 2009

Problem: I was writing a simple application and I received this error “Object Expected”. I was so confused because it worked perfectly in all the other browsers (firefox, safari, etc) I tested it on. After researching a bit, I figured out what the problem was. Basically it was giving the error “Object Expected” because it was calling my function prematurely. What was supposed to be called within the function hasn’t even been loaded on the page.

Solution: To fix the error I did something simple. I just moved my jquery code from the top of the page (the header) to the bottom of the page (the footer). Therefore, when it goes to call the function it will know where it is returning to :)



terms and conditions | privacy policy

© Black Rhino Solutions INC 2008-2010 All Rights Reserved