Click here to Skip to main content
15,882,163 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: how to hide web browser toolbar and show web page with fullscreen Pin
njzt3-Jun-16 18:33
njzt3-Jun-16 18:33 
GeneralRe: how to hide web browser toolbar and show web page with fullscreen Pin
njzt6-Jun-16 1:55
njzt6-Jun-16 1:55 
GeneralRe: how to hide web browser toolbar and show web page with fullscreen Pin
Richard Deeming6-Jun-16 4:25
mveRichard Deeming6-Jun-16 4:25 
QuestionNeed simple "Revert To Saved" Javascript code for fillable PDF Pin
Member 125622572-Jun-16 9:00
Member 125622572-Jun-16 9:00 
SuggestionRe: Need simple "Revert To Saved" Javascript code for fillable PDF Pin
Richard MacCutchan2-Jun-16 21:43
mveRichard MacCutchan2-Jun-16 21:43 
QuestionRunning XMLHttpRequest in Firefox gives no results at all Pin
bulrush40025-May-16 8:59
bulrush40025-May-16 8:59 
AnswerRe: Running XMLHttpRequest in Firefox gives no results at all Pin
ZurdoDev25-May-16 10:25
professionalZurdoDev25-May-16 10:25 
SuggestionRe: Running XMLHttpRequest in Firefox gives no results at all Pin
Richard Deeming25-May-16 10:35
mveRichard Deeming25-May-16 10:35 
When you have a question about code in an article, it's usually best to post it in the forum at the bottom of the article[^]. That way, the author will be notified of your question and have a chance to respond. The person who wrote the code is the person most likely to be able to answer your question. Smile | :)

Are you loading the page from a web site, or just double-clicking on the HTML file in Windows Explorer? You might have problems making AJAX requests work in a local file.

Have you tried checking the Web Console[^] (F12) for error messages?

Firefox definitely supports the XMLHttpRequest:
XMLHttpRequest[^]
Can I use... XMLHttpRequest advanced features[^]

Error isn't a built-in function, and doesn't appear to be defined in the article's code. Try using alert instead:
JavaScript
function testButton() {
    alert("This is an error");
}




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


GeneralRe: Running XMLHttpRequest in Firefox gives no results at all Pin
bulrush40026-May-16 0:36
bulrush40026-May-16 0:36 
GeneralRe: Running XMLHttpRequest in Firefox gives no results at all Pin
Richard Deeming26-May-16 1:46
mveRichard Deeming26-May-16 1:46 
GeneralRe: Running XMLHttpRequest in Firefox gives no results at all Pin
bulrush40010-Jun-16 3:10
bulrush40010-Jun-16 3:10 
QuestionI am not sure why this controller is not firing in this AngularJS script, any help Pin
indian14321-May-16 4:05
indian14321-May-16 4:05 
AnswerRe: I am not sure why this controller is not firing in this AngularJS script, any help Pin
Karthik_Mahalingam21-May-16 19:49
professionalKarthik_Mahalingam21-May-16 19:49 
GeneralRe: I am not sure why this controller is not firing in this AngularJS script, any help Pin
Karthik_Mahalingam22-May-16 0:31
professionalKarthik_Mahalingam22-May-16 0:31 
GeneralRe: I am not sure why this controller is not firing in this AngularJS script, any help Pin
indian14322-May-16 0:38
indian14322-May-16 0:38 
GeneralRe: I am not sure why this controller is not firing in this AngularJS script, any help Pin
Karthik_Mahalingam22-May-16 0:39
professionalKarthik_Mahalingam22-May-16 0:39 
GeneralRe: I am not sure why this controller is not firing in this AngularJS script, any help Pin
indian14322-May-16 0:49
indian14322-May-16 0:49 
GeneralRe: I am not sure why this controller is not firing in this AngularJS script, any help Pin
indian14322-May-16 0:46
indian14322-May-16 0:46 
GeneralRe: I am not sure why this controller is not firing in this AngularJS script, any help Pin
Karthik_Mahalingam22-May-16 0:51
professionalKarthik_Mahalingam22-May-16 0:51 
GeneralRe: I am not sure why this controller is not firing in this AngularJS script, any help Pin
indian14322-May-16 1:13
indian14322-May-16 1:13 
GeneralRe: I am not sure why this controller is not firing in this AngularJS script, any help Pin
Karthik_Mahalingam22-May-16 1:16
professionalKarthik_Mahalingam22-May-16 1:16 
QuestionUsing JQuery $.when, addng a promise to each function so When knows its done. Pin
jkirkerx5-May-16 12:12
professionaljkirkerx5-May-16 12:12 
AnswerI think I might have it now, not sure if its the right way to do it, but it works. Pin
jkirkerx5-May-16 13:38
professionaljkirkerx5-May-16 13:38 
GeneralRe: I think I might have it now, not sure if its the right way to do it, but it works. Pin
Nathan Minier6-May-16 1:50
professionalNathan Minier6-May-16 1:50 
GeneralRe: I think I might have it now, not sure if its the right way to do it, but it works. Pin
jkirkerx6-May-16 5:27
professionaljkirkerx6-May-16 5:27 

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.