internet-explorer

IE and Chrome not executing unexpected javascript that comes up during runtime

I am using GWT and google maps. I created a custom infowindow which contains a script that will send an http request to twitter for the most recent tweets. i want to display this content inside a tab of the infowindow, but it is only working as expected in firefox. I suspect that this may be the case because IE and Chrome need to know...

Javascript match doesn't work in IE

I have the following code. function rgb2hex(rgb) { rgb = rgb.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/); return "#" + hex(rgb[1]) + hex(rgb[2]) + hex(rgb[3]); } Seems to work ok in FF and Chrome. IE comes up with '1' is null or not an object. rgb value does seem to make it to the rgb.match. Any ideas? Thx ...

"download link " fails in IE

Hi, all. I was trying to implement a "download link" and put it beside one of my report table so that users can download a csv file and open it with applications like Excel. The records are generated dynamically based on the query made by users. So somewhere in my controller there's something like: response.headers['Content-Type'] = ...

Alternative to cookies

Hi I build portable HTML/Javscript prototypes, which are intended to be Zipped up and shared via email/sharepoint. The key word here is 'portable' - no server is required to run these prorotypes - just a javascript enabled browser. And there is no database. Some of the prototypes require that I persist data (just to show off potential...

IE6 crashes with this jQuery

The following code crashes IE6 every time. It keeps refreshing the page and crashes after a minute: $(window).bind("load resize", function () { var hnf = $('#header').height() + $('#footer').height(); $('#main').height($(window).height() - (hnf)); $('.fluid').height($('#main').outerHeight()); $('#content').width($('#main...

ASP.NET callback to encoded URL with UTF characters fails on IE

I have Russian blog built with BlogEngine.NET 1.5. I use Russian words in links encoded with URLEncode, so links are human-readable in most browsers - FF, Chrome, Opera (except for IE, but this is not the real problem with this browser). This idea is not mine, I borrowed it from Wikipedia - it uses encoded URLs on localized sites. The ...

Animating opacity doesn't work in IE or Opera

I'm experimenting with jQuery plugins. I have this code to fade in a "lightbox": $('#cleverbox') .css({ opacity:0, visibility:'visible' }) .animate( {opacity:1}, 2000 ); It works fine on Firefox and Chrome, but in IE (7 and 8) and Opera the element just appears rather than being faded in. There are a bunch of similar questions...

IE-specific problem with JQuery Form Plugin

My script utilizes BlockUI to load a modal upload form for images and then uses the JQuery Form Plugin to submit the data from this form. This works fine in Firefox and Chrome, however when I attempt to submit the form in Internet Explorer 7, I am prompted with a download dialog asking to save the PHP file that is calling this code. It...

What does "hasLayout = -1" in Buggy Old IE means...?

Hi y'all... When hasLayout = -1 is it set to true or false....? Thanks..! ...

IE not showing <form> tag in the literal text

I am using a literal on my page which has an html form in it. this literal is displayed when a specific link is clicked, an overlay div is shown on the page and it shows the form on the overlay div. All browsers work fine and exactly as expected, but IE does not show anything on the overlay div i.e. the overlay div appears but is empty. ...

How do I have a TABLE grow to be the same height as its container? (or, battling IE JavaScript slowness)

I have a web page where I have a table nested inside of a TD tag (don't flame me for this, I have a good reason for doing it this way). When the page loads, I want to expand the height of the nested table to be the height of the TD cell that contains it. Currently I do it with code like this: $(document).ready(function() { $('.Tak...

default search provider corrupted in IE when running as another user

I am using Watin to do some automated testing and I am running IE as a different user then attaching to the IE instance. The problem is with Internet Explorer. I get a message saying that the default search provider is corrupted. I have reproduced this on two computers. Is there a way of getting around this? Can turn the warnings of...

IE7+ does not execute events if control does not lose focus

Hello all: I have a input control (a Text Box) which has some javascript events associated with it (change, keypress, select, click). The first time my page is executed, I type some value in this input control and then click on my button. This button executes some ajax code, send some info to a application server and it is OK. Also, the...

Launching MS Word from Internet Explorer with parameters

I have a requirement for within an ASP.Net application to open a Word template from within the browser and pass in some parameters to a MS Word plugin that will be installed on the client. Is it possible when opening Word from the browser to pass in any parameters and if so how do you go about this? ...

GWT FormPanel not submitting in IE - works fine on FF, Chrome, Safari

I am using a simple FormPanel in GWT (com.google.gwt.user.client.ui.FormPanel). Once setting the action for the form, in Firefox, Safari, Chrome the submit method works fine while in IE (8) nothing happens when submit is called (I am submitting a form to paypal, not that it matters). I am on GWT 2.0. Is this some kind of known probl...

Simple jQuery function work in all browsers but not in IE

function check_info(id,value){ var data = $("#"+id+":checked").val(); if(value==1){ if(data == 'on'){ var id_val = id.substring(7); $("#user_g"+id_val).css("display","block"); $(".chkbox_"+id_val).attr("checked","checked"); $("#user_hidden_"+id_val).val("2"); } ...

Internet Explorer download notification on HTTPS

I have a Silverlight application deployed on a HTTPS server. My applications generates reports that are saved as PDF files. Whenever a user tries to download a file from my application from IE, he gets a notification under the toolbar asking him if he really wants to download the file. If you agree, then IE reloads the page, sending the ...

does Microsoft JVM support writing cookies in Applets?

I know that sun's can handle that through JSObject but is there some way for Microsoft JVM? I tried using JSObject with Microsoft but's it's unable to write/read any cookies. it returns "undefined" instead. any help appreciated. ...

Internet Explorer Iframe cookie issue

I am building an ASP.NET 3.5 application in which I have a page which loads another page in a different domain in an iframe. Below is the for Default.aspx page: <asp:Content ID="Content1" ContentPlaceHolderID="mainContent" runat="server"> <iframe src="isite.aspx" runat="server" width="100%" height="100%" scrolling="auto"> </if...

prototype update() not working in IE

Hi guys as the title suggests i have problem with prototype's update function in all IE version but its working in FF and chrome this doesnt work var element = $('mainnav_h'); element.cleanWhitespace(); var html = element.firstChild.innerHTML; html = html.gsub('<span class="sep"></span>', ''); element.firstChild.update(html);//this do...