internet-explorer

Jquery Problem With Changing Element Attribute In Internet Explorer

Hi, I am using Jquery to create dynamic links based on user input. I have a set of elements in my ajax loaded div that looks like this <div class="mxcell"> <input type="text" size="40" class="input_name" value=""> <a href="#" target="_blank" class="dyn_link"> <img src="http://127.0.0.1/images/arrow_right.gif"&gt; </a> </div> Now in Jq...

IE6 displays JavaScript error for below given function and error is also mentioned below..

I have a function function setbid(catid) { if(catid == 30) { document.getElementById('bannerid').value = 1; } else if(catid == 31){ document.getElementById('bannerid').value = 2; } else if(catid == 32){ document.getElementById('bannerid').value = 6; } } this function is being called onchange event of select box. now when the value...

IE: how to trigger body's vertical scrollbar recalculation

I have a problem with a vertical scrollbar on a custom SharePoint list form in IE. After navigating to the add attachment window and returning back the vertical scrollbar goes over the lower edge of the window so that one cannot scroll to the very bottom of the form. Resizing the window fixes this problem so probably if I could to someh...

Get opened tab in IE

I'm using the code below to open a new tab or a new window in IE: object m = Type.Missing; object url = "http://www.igoogle.com"; InternetExplorer ie = new InternetExplorer(); ie.Visible = true; object url2 = "http://stackoverflow.com"; ie.Navigate2(ref url, ref m, ref m, ref m, ref m); ...

CSV download fails with Internet Explorer on first attempt, works on subsequent attempts.

Hello, this has been throwing me off for too long.. Posted below is our Rails 3 controller. When attempting to access with Internet Explorer the first time, the download prompt fails with a "Unable to download" message. When attempting to access the same URL immediately following, the download prompt works successfully. In any instan...

jQuery .load() problem in all IE versions

Hello, I'm trying to do a dynamic template. I have links in sidebar and I want to load the content dynamically with .load() in jQuery. I have the following jQuery code for that: // Services AJAX page loader jQuery('.sidenav a').click(function(){ $page_url = jQuery(this).attr('href'); // load page jQuery('#content').fadeOut(200...

problem with jquery loading plugin on IE

Hi All, I' using the jquery loading plugin : http://plugins.jquery.com/project/loading To display a "please wait..." message fixed at the top of the browser page when an ajax request is being processed. This message is fixed at the top (like the messages at the top of the stackoverflow site), so are there even if the window is scrolle...

HTML formats correctly after applied focus.

I have a selection box that uses ajax to populate a div with new information. When I select an option the resulting text appears and formats correctly. However, when I select something new the resulting text does not format correctly and appears to be squished together. The problem goes away when I apply focus by clicking in the relat...

Multiple @ JS Comment bug in IE

I've come across a bug/undocumented feature in IE 7, 6.5 (perhaps others?). This doesn't effect Opera (10.5x) Firefox (3.5.x) or likely any other browser (this is all I've tested so far). It doesn't seem to be a documented ability of Javascript. By including a comment denoted by double slashes, and directly followed by double at signs...

Bug with combination of: jQuery 1.4, ajax/json, Firebug Lite and IE 8

I had just about concluded that jQuery's ajax calls wouldn't work with JSON data in IE 8, no matter what I tried. I found that I could use the jQuery 1.3.2 library and this fixed the problem, but 1.4 simply would not play ball with JSON ajax requests. Even when the JSON data returned was so simple that there was no question of it being...

What will cause a site to look and act OK in IE but not in Firefox?

I realize this question is the reverse of most of this sort. In other words, things "look great" in Internet Explorer, but look crappy or don't work at all on Firefox/Chrome/etc. I have a .NET web application. When it was first designed/built back in 2003, for several reasons that are no longer relevant, the app was built for IE-only....

Obscure Javascript difference between IE / Firefox / Opera

Within a "cloaked" site, using obj.innerHTML = something to change the contents of a div seems to screw up the div's position in Firefox and Opera. Best way to understand the problem is by seeing the code in action. Go to http://www.guggs.net/index_redirected.htm in IE, Firefox or Opera and everything looks as it should. Hit one of th...

Understanding HTML anchor tag

Let'u start with following example: Create three pages in same directory: test.html index.html Your test.html: <html> <head> <script> function test() { alert('Going to google.com?'); window.location="http://google.com"; } </script> </head> <body> <a href='' onclick="test();">google.com</a><br/> <input type=...

"Internet explorer cannot display this webpage" - every other browser is fine.

On my site's forum (http://www.kanyetothe.com/forum/), when a user submits a post from IE, they receive the error "Internet Explorer cannot display the webpage", yet it works for every other browser. This is baffling. Does anybody have any ideas? I set up a test account, user: testing / pass: test1 if you'd like to see for yourself. ...

floating in list causes trouble in IE6 and IE7

I have a toggle list that causes trouble in old IE browsers, tried to fix it for couple of hours but I failed again and again. Please check out the jsfiddle code: http://jsfiddle.net/vny63/ structure is similar to this: <li class="toggle"> <a class="left" title="gallery">gallery</a> (English) <span class="right float_right">3<...

PHP Facebook App Help!

I wrote a Facebook app from PHP and HTML that work perfect in the Opera browser, but doesn't work in Internet Explorer or Google Chrome. The page index of the app is at: http://apps.facebook.com/zbtmajik/ After you choose an image to upload and choose the 'Upload' button, it is supposed to redirect to http://majik.zbrowntechnology.inf...

jQuery get Method problem using IE

I 've created a small photo tour using HTML, CSS and jQuery. It works fine in Firefox and other browsers, but has some problems in IE. Here's the code I use to load the data: function loadNode(nodeID){ jQuery('.churchViewError').hide('slow'); jQuery(".churchViewLoading").show( 'fast'); jQuery.get(cVBaseURL+"ajax/getNodeHTML.php...

Is there user-select for Opera 10.62 and IE9?

Hi, I have been trying to apply user-select for both Opera 10.62 and IE9 without success. I can't/won't bind events with JavaScript that preventDefault(), because there are so many places to be set unselectable and I still need to retain selections in several places. In fact, I want the default behavior to be unselectable for the whole ...

Javascript in Internet Explorer : How to do something after a variable is loaded/registered..

Hey everyone, I'm using some jQuery that works fine in all browsers except in Internet Explorer 8 (and probably not the earlier versions although I'm not as worried about those.). I'm using jQuery's .each function to loop over every element in a JavaScript array that is auto generated on my page by the fairly inflexible CMS I'm using. ...

Contenteditable Wordwrap

How to implement wordwrapping in a contenteditable div? By styling it as overflow-x: hidden; overflow-y: auto; I was able to make it work in Chrome but it does not work in Firefox or IE. (Facebook uses contenteditable in it's status update box, and they seem to be having the same problem too. So is this in someway a limitation of conten...