Click here to Skip to main content
15,881,757 members
Home / Discussions / JavaScript
   

JavaScript

 
QuestionRe: How can I get an input value from ajax result search Pin
ZurdoDev4-Mar-20 5:12
professionalZurdoDev4-Mar-20 5:12 
AnswerRe: How can I get an input value from ajax result search Pin
vlafratta5-Mar-20 3:39
vlafratta5-Mar-20 3:39 
GeneralRe: How can I get an input value from ajax result search Pin
ZurdoDev5-Mar-20 3:50
professionalZurdoDev5-Mar-20 3:50 
GeneralRe: How can I get an input value from ajax result search Pin
vlafratta5-Mar-20 4:54
vlafratta5-Mar-20 4:54 
AnswerRe: How can I get an input value from ajax result search Pin
ZurdoDev5-Mar-20 5:10
professionalZurdoDev5-Mar-20 5:10 
GeneralRe: How can I get an input value from ajax result search Pin
vlafratta16-Mar-20 1:41
vlafratta16-Mar-20 1:41 
SuggestionRe: How can I get an input value from ajax result search Pin
Richard Deeming6-Apr-20 1:30
mveRichard Deeming6-Apr-20 1:30 
QuestionFunction showMessage not available Pin
vinnie moag28-Feb-20 15:04
vinnie moag28-Feb-20 15:04 
I am just starting to learn JavaScript and am following an online course my company provides for IT Training. I have set up my environment as instructed, created my “Hello World!” and more.

We have not yet gotten to the Functions section, but the instructor created a utility.js file as follows:

Function showMessage(message) {
document.getElementById(‘message’).textContent = message;
}


However, as I begin entering in “showMessage” it is underlined in red squiggly line. So I slowly re-entered it to let pre-fill find the command “sho” it stops. ShowMessage is not available to use.

I am learning how to use both home.js and utility.js files to modify webpage, index.html, by placing an “id=“message” to change the index.html based on a home.js file that contains “showMessage(“Changes....”);

But the real issue is the Function missing from my “libraries or binary” files?

Thank you to anyone that may be able to answer why that Function may be missing or if it can be added. If left as is, the webpage when refreshed does not display Changes....

Sincerely, 60 year old learning JavaScript so I can quickly learn JSON to be able to make API calls via LAMBDA to leverage CloudFormation templates to build our stacks in AWS Cloud.

Thanks again, life-long learner,
VinManinho
AnswerRe: Function showMessage not available Pin
Richard MacCutchan28-Feb-20 22:45
mveRichard MacCutchan28-Feb-20 22:45 
Questiondrawing A Random Bezier Curve 10 times then reset Pin
LarsAlaska28-Feb-20 11:21
LarsAlaska28-Feb-20 11:21 
AnswerRe: drawing A Random Bezier Curve 10 times then reset Pin
Graham Breach28-Feb-20 19:54
Graham Breach28-Feb-20 19:54 
QuestionThere is some problem in my code I could not get the bus seat layout seats. Please help me Pin
Member 1465358023-Feb-20 22:45
Member 1465358023-Feb-20 22:45 
SuggestionRe: There is some problem in my code I could not get the bus seat layout seats. Please help me Pin
Richard Deeming23-Feb-20 23:01
mveRichard Deeming23-Feb-20 23:01 
QuestionHow does this work in Javascript? Pin
Nand3210-Feb-20 23:25
Nand3210-Feb-20 23:25 
AnswerRe: How does this work in Javascript? Pin
Richard Deeming11-Feb-20 1:09
mveRichard Deeming11-Feb-20 1:09 
GeneralRe: How does this work in Javascript? Pin
Nand3211-Feb-20 1:27
Nand3211-Feb-20 1:27 
QuestionValidate if my drop location is not empty using JS(HTML DnD API) Pin
Member 147327851-Feb-20 20:04
Member 147327851-Feb-20 20:04 
SuggestionRe: Validate if my drop location is not empty using JS(HTML DnD API) Pin
Richard MacCutchan1-Feb-20 21:33
mveRichard MacCutchan1-Feb-20 21:33 
GeneralRe: Validate if my drop location is not empty using JS(HTML DnD API) Pin
Member 147327851-Feb-20 22:41
Member 147327851-Feb-20 22:41 
AnswerRe: Validate if my drop location is not empty using JS(HTML DnD API) Pin
Richard Deeming3-Feb-20 0:53
mveRichard Deeming3-Feb-20 0:53 
GeneralRe: Validate if my drop location is not empty using JS(HTML DnD API) Pin
Nathan Minier3-Feb-20 1:10
professionalNathan Minier3-Feb-20 1:10 
AnswerRe: Validate if my drop location is not empty using JS(HTML DnD API) Pin
ZurdoDev3-Feb-20 2:20
professionalZurdoDev3-Feb-20 2:20 
AnswerRe: Validate if my drop location is not empty using JS(HTML DnD API) Pin
jkirkerx5-Feb-20 12:40
professionaljkirkerx5-Feb-20 12:40 
QuestionPls help!javascript Noobie, Im getting if the average of the array is whole number, why does the method 2 doesn' work? Pin
Member 1472307521-Jan-20 16:36
Member 1472307521-Jan-20 16:36 
AnswerRe: Pls help!javascript Noobie, Im getting if the average of the array is whole number, why does the method 2 doesn' work? Pin
Richard Deeming21-Jan-20 23:52
mveRichard Deeming21-Jan-20 23:52 

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.