While debugging jQuery apps that use AJAX, I often have the need to see the json that is being returned by the service to the browser. So I'll drop the URL for the JSON data into the address bar.
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Monday, June 11, 2012
How can I convince IE to simply display application/json rather than offer to download it?
Friday, June 8, 2012
How to "enable' HTML5 elements in IE that were inserted by AJAX call?
See the solution at the bottom of the question.
IE does not work good with unknown elements (ie. HTML5 elements), one cannot style them , or access most of their props. Their are numerous work arounds for this for example: http://remysharp.com/2009/01/07/html5-enabling-script/
Thursday, June 7, 2012
Getting jQuery to recognise .change() in IE
I'm using jQuery to hide and show elements when a radio button group is altered/clicked. It works fine in browsers like Firefox, but in IE 6 and 7, the action only occurs when the user then clicks somewhere else on the page.
Wednesday, May 30, 2012
Why don"t self-closing script tags work?
What is the reason browsers do not correctly recognize:
<script src="foobar.js" /> // self-closing script tag
Monday, May 21, 2012
Unexpected Caching of AJAX results in IE8
I'm having a serious issue with Internet Explorer caching results from a JQuery Ajax request.
Sunday, May 20, 2012
Why does Internet Explorer not send HTTP post body on Ajax call after failure?
We are able to reliably recreate the following scenario:
- Create a small HTML page that makes AJAX requests to a server (using HTTP POST)
- Disconnect from the network and reconnect
- Monitor the packets that IE generates after the failure
Thursday, May 3, 2012
Why does an onclick property set with setAttribute fail to work in IE?
Ran into this problem today, posting in case someone else has the same issue.
Tuesday, May 1, 2012
Problem with CSS and .load() jquery on IE
Is there a known issue with IE(7 and 8) where jquery .load() doens't function properly? My CSS isn't getting loaded onto the page. Here is my code :
Monday, April 23, 2012
Intercept page exit event
When editing a page within my system, a user might decide to navigate to another website and in doing so could lose all the edits they have not saved.
Thursday, April 19, 2012
Getting URL of executing JavaScript file (IE6-7 problem mostly)
Hey all, I've been trying to throw together a generic function that retrieves the absolute URL of an executing JavaScript file on a web page:
Thursday, April 5, 2012
Cannot properly set the Accept HTTP header with jQuery
I'm trying to set the Accept HTTP header to "text/xml" with this jquery code:
Sunday, January 29, 2012
Need help controlling audio object volume in iE8
I'm very much a noob at this but I've got my .wav files playing sound effects and even overlapping when I need them to in Safari, Chrome, IE and FireFox but the only problem I still have is I can't set the volume in IE8. It just plays at the same loud level of the original file. Here is the code I have (with things I've tried commented out).
Sunday, January 15, 2012
Desktop Touch screen iPhone style scrolling in IE with jquery
Is it possible to make a web page to scroll up and down just like iPhone does in IE with jquery (or any other js tool that has not issues with jquery)?
Desktop Touch screen iPhone style scrolling in IE with jquery
Is it possible to make a web page to scroll up and down just like iPhone does in IE with jquery (or any other js tool that has not issues with jquery)?
Thursday, January 12, 2012
CSS, Javascript functionality issue relating to styled input buttons on newer browsers? (IE 8/9, FF 9)
I'm working on a site where I have input buttons (styled using CSS) that are a part of a form. For example, see below for sample code