As usual, this site works with every single browser known to man ...........except for any version of IE. I have tried using IE's devel tools to no avail ....though I'm a complete newb, so that isn't saying much. Code?Here's the section IE complains about:
function display(str)
{
var nodeList = xmlDoc.getElementsByTagName("item");[code]....
**** UPDATE *****Well ...it looks like I can't have null values in any elements ( in the xml document ). How do you experts satisfy this requirement in an elegant fashion.Since there is no data for certain elements, I'm looking for a reasonable failover solution. Empty quotes?..... still experimenting. A script produces the xml file from a database so some elements do not have data for certain
child elements.
I have a huge HTML page to be tranlasted with links every times in the right side of the page, and the content and but seems like a problem with javascript
it contains Javascript +PHP code, runs perfectly with Mozilla but say object requires in Internet explorer. the code is following
i want to run a bit of js not in ie but in all others within some js i'm doing.is this the way to do it? (got this from o'reilly's js;definitive guide book):
Code: /*@cc_on @if( @_jscript ) ; // nothing for internet explorer[code]....
how should braces be in that, if they should at all? i mean if i wanted multiple lines of js code in the either non-ie or ie blocks how and where would {}'s go?also does that work for ie8?
An error 'Object expected' error occurs when loading the page online in IE.There is no error in any browser when it is in local.I need to show a popup when mouse is moved upwards...it works nice in all browsers offline but when it is made online it is not working properly in IE,when the mouse is moved upward popup shows with an error 'Object expected' and it fails to load that instant.In mozilla and other browsers it works properly.
I have a script that works in Firefox but not IE6-
<script language="JavaScript" type="text/javascript"> document.Params.ThisPageURL.value=document.URL; var x = new Date (); document.Params.TimeZoneOffset.value =x.getTimezoneOffset(); document.Params.submit (); </script>
The form is set this way: <FORM ACTION="<?php echo("$Action"); ?>" METHOD="POST" NAME="Params" <input type="hidden" NAME="ThisPageURL" value=""><input type="hidden" Name="$ERR" value=""><input type="hidden" name ="TimeZoneOffset" value=""><input type="hidden" Name="$U" value=""><input type="hidden" Name="$R" value=""><input type="hidden" Name="$T" value="">
I get the following error in IE: document.Params.ThisPageURL is null or not an object
Whenever I open the page in Chrome, my "Hello" message pops up, but in any other of my browsers, it doesn't. This page is also being hosted basically from a file on my computer, on the C drive.
I am new to Javascript and I have created a website using a javascript tamplet for a slide show. The website works good in all browsers, except in internet explorer! this is a big problem for me since many people have tried to look at the site in internet explorer and it didn't work and it is just not good..
Is there a piece of code that can be added to the HTML to tell internet explorer to run the script?
I am working on a script to allow the user to click on an image to turn table header locking on and off. Everything appears to work fine, with the exception of one quirk that is occurring when I run the test page in Internet Explorer (7, in this case). If you click on the icon once to turn on header locking, it works. If you then click the icon again, it turns off header locking, as it is supposed to. But after that, you can no longer click on the icon. It is as if it loses the event binding. I am not removing or in anyway creating a new instance of the icon (although I did try using live() instead of click() just to be safe). Also, if I run this same page in Firefox, I do not have this problem. You can see the example page and view the complete source at [URL]
I'm writing this in case it might help someone who hates Internet Explorer as much as I do. I'm fairly new to jquery so many people may already know this but this one stumped me pretty good.I had my code in document ready but for some reason all of it wasn't executing. It would just stop at a certain point. All the code executed fine in Chrome, Opera, Firefox, and Safari. Only internet explorer got hung up on a line of code that i wrote in regular javascript and not in jquery syntax and just would not continue after that. After changing it to jquery syntax it worked.[code]
I am trying to make comments system and i want to add smileys.the content of each comment is written in TEXTAREAI have a JS code that gets a "smiley code" like :) and adds it into the TEXTAREA. i mean it adds :) :( XD ;) or what i sent to the function.the TEXTAREA code:
I get an Object Expected error when trying to toggle showing a hidden div in IE. This is the code in <head>:
<script type="application/javascript"> function toggleLayer( whichLayer ) { var elem, vis; if( document.getElementById ) this is the way the standards work elem = document.getElementById( whichLayer ); else if( document.all ) this is the way old msie versions work elem = document.all[whichLayer]; else if(
So this works just fine in FF. In IE7 I am getting this error. I can see my content load in the background, when I hit ok it takes me to a page cannot be displayed page. If I comment out:
I'm having trouble figuring out what's going on with IE6's Msxml2.XMLHTTP object. I have two feed addresses in this stripped down version of my code below. Both work fine in Firefox (using the XMLHttpRequest object), but only the thinkgeek one works in IE. In the processFeed function, it shows the problem - the first alert shows 0 for the wikihow feed in IE, though it can still display the responseText. Any insight? Code:
my site seems to be working perfectly on firefox but when I access it on internet explorer everything loads fine but there is a yellow marker on the status bar of IE saying there are errors on the page. I copied the source into dreamweaver to check for browser specefic bugs but the only bugs that came up were that in Netscape. So any idea why this is happening? The link to my site is in my profile.
I am having trouble with Internet Explorer AGAIN.How do you use the setTimeout for it?This is what I am using and it is working on all of the other browser:Code:setTimeout("growContact(" + (height+20) + ")", 0);
I have a problem, and maybe someone knows the solution.
Context : - Browser : IE 6.0 - Application server : Livewire Pro - Client OS : Windows 98 SE - Server OS : NT4 - I have a frameset, including several pages, but only one will be used for the example. -------- | a | -------- | b | -------- - a form on the main page (a.html i.e.) - a data is manually typed, then I submit the form => the action will redirect to a new page (c.html) - on this new page, I do a history.go(-1), so I'm back on the a.html page, and the data is still there (it's ok) - cache parameters : "check on every page visited"
Problem : - From the main page, if a popup gives the data to the form, so after the submit and the history.go(-1), the form contains NO data !!!
So, the data is lost when the data input is not made by hand.
I have no troubles with Netscape/Mozilla, but only with IE.
I've developed a calendar program in javascript, and up until now I've done most of my testing using Mozilla and Firefox. Everything works fine, but when I try to use Internet Explorer my response time is sometimes 50 times slower than using Mozilla.
I know I haven't given you much to go by, but I'm not looking for an answer so much as an approach to debugging the problem. For example, does anyone here know of a good web site which deals with browser-specific javascript performance issues?