Home > Internet Explorer > Internet Explorer Object Required Error In Javascript

Internet Explorer Object Required Error In Javascript

If so, what can I do to fix this? and it works in EVERY other browser out there (FF, Opera, Safari, Flock)... You need the event object from the iframe's window. I'll check again right now however. –Pointy Aug 25 '10 at 23:10 | show 3 more comments 1 Answer 1 active oldest votes up vote 3 down vote accepted Easily fixed. http://auctusdev.com/internet-explorer/internet-explorer-javascript-error-object-required.html

place the script at the end of the HTML document, rather at the beginning, or use jquery's ready function: $(function() { mercObj = document.getElementById('mercury'); }); share|improve this answer answered Nov 6 Log In Stupid IE 'object required' error ... asked 3 years ago viewed 1104 times active 2 years ago Blog Stack Overflow Podcast #91 - Can You Stump Nick Craver? We offer repairs on the full range of industrial automation products from all leading manufacturers.

check over here

Word for people or group(s) that will receive message Hit a curb; chewed up rim and took a chunk out of tire. When is it okay to exceed the absolute maximum rating on a part? Related 1874Detecting an undefined object property6565How do JavaScript closures work?3228What is the most efficient way to deep clone an object in JavaScript?3257How to remove a property from a JavaScript object?2262How do Make an ASCII bat fly around an ASCII moon 기계 (gigye) ==> 機械, 器械, 奇計 (what else?) Get first N elements of parameter pack How can I Avoid Being Frightened by

Terms Privacy Security Status Help You can't perform that action at this time. Instead of assuming an object has a property or method, test it before using it. ` if (window.open) { window.open(...);}var elem = document.getElementById('livesearch');// elem could be null. asked 1 year ago viewed 426 times active 1 year ago Blog Stack Overflow Podcast #91 - Can You Stump Nick Craver? Working without compensation, what to do?

The page loads ok but I dont want this error. before fs_wrapper –Kyslik May 29 '13 at 11:23 Assuming jquery & an ID; $("#fs_wrapper")[0].childNodes –Alex K. Get first N elements of parameter pack A secretary with ____ good knowledge of English: "a" or no article? recommended you read Here is the code: function show_preview() { window.open("c_pop.php?to=" + document.getElementById('livesearch').value + "&sub=" + document.getElementById('subject').value + "&mess= " + document.getElementById('message').value, "Link", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=450,height=400,left=30,top=80"); } The error from IE is simple: "Object required" line

The guy is making me crazy with this dumb thing and I am saying it has to be something on his machine because I see no problems, nor get any errors Where are sudo's insults stored? If you have time, can you explain why the code works in chrome, but not IE? When does bugfixing become overkill, if ever?

Already tested the elements and they are fine SteveWh 2009-06-03 18:38:54 UTC #7 He said he shut off all the security settings Not sure what he could have meant by that. Can I visit Montenegro without visa? Related 2Listen for Events from Browser “Find” Window in JavaScript62“Access is denied” JavaScript error when trying to access the document object of a programmatically-created