internet-explorer

IE: Passing value from JSON object to onClick event.

I'm using jquery ajax. The server returns a JSON object and I am fetching the array. Everything works fine in FF, of course, but somehow when i try to use this syntax: $('#edituserLink').attr("onClick","edit('"+user[0]['USER_ID']+"');"); the onClick function wont have the value as an argument. Why? ...

Does anyone know how to debug javascript in IE 7 and IE 8 using Visual Studio Express 2010 without having to install Frontpage Server extensions?

I want to use visual studio express to debug Javascript in IE7/8, but it seem to require that frontpage server extensions to be installed on the page. ...

toSource in internet explorer

Possible Duplicates: Javascript toSource() method not working Implementing Mozillas toSource() method in Internet Explorer. Is there an alternative method toSource for internet explorer? ...

IE7 is messing up the z-index property with my subnav (although I've already fixed that!)

OK, so I had this issue with my jQuery subnav in IE7 where it was scrolling down behind the main content after the header. Did a fair bit of research and found a great fix involving simply applying a z-index value to the header, and one to the main content. All was well. Or so I thought. Turns out IE7 is still messing up the subnav z-i...

IE7 and IE8 change event not being thrown for text input

I have a form that I auto focus at startup of the page with jquery. I also have change event handlers in place for whenever an input changes. If I change the value of the first field that was autofocused, and then move to the next field, the change event handler doesn't fire. If I remove the autofocusing, and just focus manually, then...

Capturing Print Events via Jquery/JS/Browser Specific APIs

Hi everyone, I wanted to ask if there is a way to capture the print events (like IE onbeforeprint and onafterprint events). Actually I would like to do more. I want to know if I could interrupt printing, cancel it or may be change the print option all together to have a myPrint option. Can this be achieved through plug-ins...

What could be the best solution to avoid the conflict of http and https popups in IE?

What could be the best solution to avoid the conflict of http and https popups in IE? I have many Secured connection pages where i face this popup in IE, I want to handle it how to do that? ...

jQuery val() function and file input field in IE

I have a file inputfile <input tye='file' id='funPic' name='funPic' /> I need to get the name of the selected file, $('#funPic').val() in Firefox and Chrome gives abc.jpg where as IE7 & IE8 gives c:\xyz\abc.jpg Why is this? I need only the abc.jpg part. ...

'checked' is null or not an object - only IE

Hi This problem exists only in IE browser, in mozilla its working fine... i have to delete a row on click on checkbox.... Here is my code : <table width="100%" id="seller"> <tr id="row_1" class="row"> <td><input type="checkbox" name="delete_seller" id="delete_seller" value="1" /></td> </tr> <tr id="row_2" class="row"> <td><input type...

Cannot open xls file in IE

We have JSF web application that generates XLS file and gives user link to thes file. All works fine if access this file via HTTP. But IE(8) cannot open/save this xls file via HTTPS. There is following error message: Internet Explorer cannot download ...466088C5C313F92808BDB0AFF3447 from testhost. Internet Explorer was not able to op...

Labels and hidden fields in Internet Explorer (and jquery)

I'm having trouble checking hidden checkboxes in IE. This is the base html: <input id="groups_ids_1" name="group_ids[]" type="checkbox" value="1" /> <label for="groups_ids_1">Display</label> This works fine, but if I then hide the checkboxes using either $('input[type=checkbox]').hide(); or $('input[type=checkbox]').css('visibilit...

How to check if webpage page is scrolled?

Is there any way in javascript to check if web page has been vertically scrolled? specially for Internet Explorer? I need to get the mouse position in IE but using jQuery event e.pageY it gives correct value when page is not scrolled but when page is scrolled down then it gives wrong position. ...

Best practice for trapping certain keyCodes in onkeypress in Javascript

I'm somewhat curious about the "best practices" when it comes to trapping the ENTER key in an html input tag. In IE, it's easy. window.event.keyCode will be 13 when enter is pressed and it's pretty straight forward. In all other browsers, an arguments object is passed into the function. However, this seems to basically force you to l...

Use :not() pseudo selector in IE7/IE8

Hello, is there any way I can get the :not() pseudo selector to work in Internet Explorer 7/8? Is there any javascript that can do the same thing as the CSS3 :not()? ...

How can I fix this error in Fiddler: No connection could be made because the target machine actively refused it

Hi, For some reason I cannot monitor my asp.net page's request/responses to my local host in IE 8.0. I use fiddler and I modified he url as this -by adding a dot before the semicolon- http://localhost.:52749/JQuery/Chapter16-AJAX/PersonEditor.aspx I get this error: [Fiddler] Connection to localhost. failed. Exception Text: No connec...

IE8 Throwing a Security Error with MooTools

Okay so like everything else IE8 is giving some serious problems. When trying to load MooTools into the browser IE8 just gives me a "A security problem occurred" error. I think it may have something to do with the clashing of files or something but I can't seem to figure it out. Here's a web address so you can see for yourself. http://w...

Floating block links broken in IE

I have the following HTML: <!DOCTYPE html> <html> <head> <style> #nav { float: left; width: 10em; } #nav ul { list-style: none; margin: 0; padding: 0 20px; } #nav li { ...

IE z-index Issue

Looking good here in the result, but I can't achieve the same in IE. Is there any workaround for this? JsFiddle for this: http://jsfiddle.net/3f3Xa/ Many thanks for your help! ...

Simulating :active with jQuery

For hover, I do this: $('.btn').hover(function (event) { $(this).toggleClass('hover'); }); Is there any similar workaround for :active? Need it for the damned IE6. Thanks! ...

In Internet Explorer, why does memory leak stay, even when navigating away from pages?

The book Learning jQuery says IE has memory leak for the DOM object having a property referencing a function, and the function also referencing the DOM object, thus having a "circular reference", like this: onload = function() { var foo = document.getElementById('foo'); foo.onclick = function() { // DOM object foo's onclick pro...