Click here to Skip to main content
15,888,610 members
Home / Discussions / JavaScript
   

JavaScript

 
QuestionUnexpected Identifier error Pin
Stavros McGillicuddy6-Aug-16 11:02
Stavros McGillicuddy6-Aug-16 11:02 
QuestionRe: Unexpected Identifier error Pin
Richard Deeming8-Aug-16 1:38
mveRichard Deeming8-Aug-16 1:38 
Questionchange in cell content of salary or bonus or deduction in table cells automatically affect in total Pin
ahmed_sa30-Jul-16 6:39
ahmed_sa30-Jul-16 6:39 
Questionget the value of row before changing in table if cancel click Pin
ahmed_sa25-Jul-16 7:13
ahmed_sa25-Jul-16 7:13 
QuestionCode is not working correctly Pin
Member 1265075924-Jul-16 2:31
Member 1265075924-Jul-16 2:31 
SuggestionRe: Code is not working correctly Pin
Richard MacCutchan24-Jul-16 2:48
mveRichard MacCutchan24-Jul-16 2:48 
AnswerRe: Code is not working correctly Pin
John C Rayan27-Jul-16 22:20
professionalJohn C Rayan27-Jul-16 22:20 
Questionneed help understanding how regular updating of a div works Pin
Member 1263409813-Jul-16 16:55
Member 1263409813-Jul-16 16:55 
I am just wrapping up a HUGE project that took me forever to research and code. There is just one thing keeping it from working properly. An updated div on my website.

I have a div that contains css code that displays a temperature gauge. I have php code that extracts data out of a txt file for the gauge. It works but I have to manually update the whole page or update the whole page in the code. I just need that one div to update every second or so and to reload the txt file before doing so.

I have found lots of javascript/ajax examples but none are explained and none are commented. I just dont seem to understand how they work. I have no javascript experience. Does anyone have a quick example with comments or can explain what is going on in the code?

Thanks to anyone for reading.
AnswerRe: need help understanding how regular updating of a div works Pin
John C Rayan15-Jul-16 0:12
professionalJohn C Rayan15-Jul-16 0:12 
AnswerRe: need help understanding how regular updating of a div works Pin
ZurdoDev15-Jul-16 2:26
professionalZurdoDev15-Jul-16 2:26 
QuestionNeed help understanding this piece of code Pin
Jaime Premy10-Jul-16 5:53
professionalJaime Premy10-Jul-16 5:53 
AnswerRe: Need help understanding this piece of code Pin
ZurdoDev15-Jul-16 2:31
professionalZurdoDev15-Jul-16 2:31 
GeneralRe: Need help understanding this piece of code Pin
Jaime Premy15-Jul-16 5:21
professionalJaime Premy15-Jul-16 5:21 
GeneralRe: Need help understanding this piece of code Pin
ZurdoDev15-Jul-16 5:26
professionalZurdoDev15-Jul-16 5:26 
GeneralRe: Need help understanding this piece of code Pin
Jaime Premy16-Jul-16 18:22
professionalJaime Premy16-Jul-16 18:22 
GeneralRe: Need help understanding this piece of code Pin
ZurdoDev17-Jul-16 8:19
professionalZurdoDev17-Jul-16 8:19 
QuestionWhat is the work of callback argument in NodeJs "module.exports"? Pin
MaxySpark4-Jul-16 10:03
MaxySpark4-Jul-16 10:03 
AnswerRe: What is the work of callback argument in NodeJs "module.exports"? Pin
rah_sin12-Jul-16 0:42
professionalrah_sin12-Jul-16 0:42 
QuestionForming your own panel Pin
Member 126139631-Jul-16 3:06
Member 126139631-Jul-16 3:06 
AnswerRe: Forming your own panel Pin
Richard MacCutchan1-Jul-16 3:48
mveRichard MacCutchan1-Jul-16 3:48 
QuestionError in parentNode.replaceChild while hiding content which is available in web page Pin
srikrishnathanthri1-Jul-16 2:41
srikrishnathanthri1-Jul-16 2:41 
QuestionChange webpage background on the fly (If it worked) Pin
Born5929-Jun-16 2:00
Born5929-Jun-16 2:00 
AnswerRe: Change webpage background on the fly (If it worked) Pin
Richard Deeming29-Jun-16 2:06
mveRichard Deeming29-Jun-16 2:06 
PraiseRe: Change webpage background on the fly (If it worked) Pin
Born5929-Jun-16 2:12
Born5929-Jun-16 2:12 
QuestionJSHint & Sublime use and config Pin
DavidMillar246828-Jun-16 21:00
DavidMillar246828-Jun-16 21:00 

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.