Click here to Skip to main content
15,887,214 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: According to you, the output of the console output will look like? Pin
Member 1320782917-May-17 22:09
Member 1320782917-May-17 22:09 
AnswerRe: According to you, the output of the console output will look like? Pin
Afzaal Ahmad Zeeshan17-May-17 21:48
professionalAfzaal Ahmad Zeeshan17-May-17 21:48 
GeneralRe: According to you, the output of the console output will look like? Pin
Member 1320782917-May-17 22:09
Member 1320782917-May-17 22:09 
QuestionHow can I write this button Pin
庭喵15-May-17 22:54
庭喵15-May-17 22:54 
QuestionWhen someone enters a wrong answer in an input text box in JavaScript I want the user to be placed in the same field instead of going to the next Pin
Member 1319885813-May-17 20:22
Member 1319885813-May-17 20:22 
AnswerRe: When someone enters a wrong answer in an input text box in JavaScript I want the user to be placed in the same field instead of going to the next Pin
Richard Deeming15-May-17 8:08
mveRichard Deeming15-May-17 8:08 
QuestionJSON not working in IE 6 Pin
AntoVasanth10-May-17 22:56
AntoVasanth10-May-17 22:56 
AnswerRe: JSON not working in IE 6 Pin
Richard Deeming11-May-17 1:24
mveRichard Deeming11-May-17 1:24 
The native XMLHttpRequest object was first introduced in IE7.

If you need to support ancient browsers like IE6, then you'll need to fall-back to the ActiveX version:
var apps;
if (window.XMLHttpRequest) {
    // code for IE7+, Firefox, Chrome, Opera, Safari
    apps = new XMLHttpRequest();
}
else {
    // code for IE6, IE5
    apps = new ActiveXObject("Microsoft.XMLHTTP");
}

Using XMLHttpRequest in IE6 - Web APIs | MDN[^]

Alternatively, use jQuery[^], which handles this sort of thing for you. But you'll need to stick to v1.12, since that was the last version that supported IE6 and IE7.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


QuestionJSON retrieved from server works mostly like string, not element Pin
Member 1103130410-May-17 20:36
Member 1103130410-May-17 20:36 
Questioncss class not working Pin
Member 110313047-May-17 21:45
Member 110313047-May-17 21:45 
AnswerRe: css class not working Pin
Afzaal Ahmad Zeeshan7-May-17 23:20
professionalAfzaal Ahmad Zeeshan7-May-17 23:20 
Questionhow to call the same component more than one time Pin
Member 110313046-May-17 10:55
Member 110313046-May-17 10:55 
QuestionJquery touchend touchcancel doesn't fire Pin
jkirkerx21-Apr-17 6:55
professionaljkirkerx21-Apr-17 6:55 
AnswerHad the wrong viewport setting in zoomEnable, but I don't understand why I can't stop touchend from firing after touchstart Pin
jkirkerx21-Apr-17 7:44
professionaljkirkerx21-Apr-17 7:44 
AnswerI don't get it Pin
jkirkerx21-Apr-17 11:44
professionaljkirkerx21-Apr-17 11:44 
AnswerRe: Jquery touchend touchcancel doesn't fire [got it now] Pin
jkirkerx27-Apr-17 10:30
professionaljkirkerx27-Apr-17 10:30 
QuestionHow do I ensure that checkbox is validated FIRST before showprogress? Pin
samflex20-Apr-17 9:23
samflex20-Apr-17 9:23 
AnswerRe: How do I ensure that checkbox is validated FIRST before showprogress? Pin
Richard Deeming24-Apr-17 9:21
mveRichard Deeming24-Apr-17 9:21 
GeneralRe: How do I ensure that checkbox is validated FIRST before showprogress? (SOLVED) Pin
samflex2-May-17 8:40
samflex2-May-17 8:40 
QuestionCapture the browser close event from the close button on top left corner Pin
Zeyad Jalil15-Apr-17 1:35
professionalZeyad Jalil15-Apr-17 1:35 
AnswerRe: Capture the browser close event from the close button on top left corner Pin
Afzaal Ahmad Zeeshan15-Apr-17 3:01
professionalAfzaal Ahmad Zeeshan15-Apr-17 3:01 
AnswerRe: Capture the browser close event from the close button on top left corner Pin
F-ES Sitecore18-Apr-17 1:10
professionalF-ES Sitecore18-Apr-17 1:10 
GeneralRe: Capture the browser close event from the close button on top left corner Pin
ZurdoDev18-Apr-17 2:04
professionalZurdoDev18-Apr-17 2:04 
GeneralRe: Capture the browser close event from the close button on top left corner Pin
F-ES Sitecore18-Apr-17 2:38
professionalF-ES Sitecore18-Apr-17 2:38 
GeneralRe: Capture the browser close event from the close button on top left corner Pin
ZurdoDev18-Apr-17 3:03
professionalZurdoDev18-Apr-17 3:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.