Click here to Skip to main content
15,912,756 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: Having a Problem with Return Value in Javascript Function Pin
Doug Pruiett13-Nov-13 3:30
Doug Pruiett13-Nov-13 3:30 
GeneralRe: Having a Problem with Return Value in Javascript Function Pin
Graham Breach13-Nov-13 5:27
Graham Breach13-Nov-13 5:27 
Without the parentheses, the code contains a syntax error - the parser will give up and not execute it.

With the parentheses, the parser will accept that you want to call a function called "Return" (assuming that it will be defined later) and only fail when you try to call it.

These errors are fairly easy to spot if you use your browser's development tools (or at least take a look at the Javascript console).
AnswerRe: Having a Problem with Return Value in Javascript Function Pin
Doug Pruiett13-Nov-13 4:19
Doug Pruiett13-Nov-13 4:19 
GeneralRe: Having a Problem with Return Value in Javascript Function Pin
Richard Deeming13-Nov-13 4:51
mveRichard Deeming13-Nov-13 4:51 
GeneralRe: Having a Problem with Return Value in Javascript Function Pin
Richard MacCutchan13-Nov-13 6:10
mveRichard MacCutchan13-Nov-13 6:10 
SuggestionRe: Having a Problem with Return Value in Javascript Function Pin
chxm199016-Nov-13 3:30
chxm199016-Nov-13 3:30 
QuestionShowing Questions Below Answers After The Submit Button Is Pressed? Pin
KeonD12311-Nov-13 10:25
KeonD12311-Nov-13 10:25 
AnswerRe: Showing Questions Below Answers After The Submit Button Is Pressed? Pin
twseitex12-Nov-13 3:19
twseitex12-Nov-13 3:19 
QuestionHidden field value in javascript Pin
vkEE11-Nov-13 5:12
vkEE11-Nov-13 5:12 
AnswerRe: Hidden field value in javascript Pin
twseitex12-Nov-13 3:27
twseitex12-Nov-13 3:27 
GeneralRe: Hidden field value in javascript Pin
Kornfeld Eliyahu Peter12-Nov-13 19:19
professionalKornfeld Eliyahu Peter12-Nov-13 19:19 
GeneralRe: Hidden field value in javascript Pin
vkEE3-Dec-13 10:35
vkEE3-Dec-13 10:35 
GeneralRe: Hidden field value in javascript Pin
Amir Hamza Md. Kayes6-Dec-13 9:16
professionalAmir Hamza Md. Kayes6-Dec-13 9:16 
QuestionScript to determine the optimal weight man Pin
bosko18-Nov-13 1:11
bosko18-Nov-13 1:11 
SuggestionRe: Script to determine the optimal weight man Pin
Richard MacCutchan8-Nov-13 1:27
mveRichard MacCutchan8-Nov-13 1:27 
GeneralRe: Script to determine the optimal weight man Pin
bosko18-Nov-13 9:47
bosko18-Nov-13 9:47 
GeneralRe: Script to determine the optimal weight man Pin
Richard MacCutchan8-Nov-13 22:51
mveRichard MacCutchan8-Nov-13 22:51 
QuestionTainted Canvas Pin
Paulo Augusto Kunzel31-Oct-13 1:55
professionalPaulo Augusto Kunzel31-Oct-13 1:55 
AnswerRe: Tainted Canvas Pin
enhzflep10-Nov-13 2:49
enhzflep10-Nov-13 2:49 
QuestionIs there any way to avoid activex in javascript ? Pin
nnithiyanand30-Oct-13 0:27
nnithiyanand30-Oct-13 0:27 
AnswerRe: Is there any way to avoid activex in javascript ? Pin
_Maxxx_3-Nov-13 18:34
professional_Maxxx_3-Nov-13 18:34 
Questionneed help to code in java to read a text file...i am beginner in java..pls help me Pin
creativesmart8825-Oct-13 10:46
creativesmart8825-Oct-13 10:46 
AnswerRe: need help to code in java to read a text file...i am beginner in java..pls help me Pin
Richard MacCutchan25-Oct-13 23:06
mveRichard MacCutchan25-Oct-13 23:06 
AnswerRe: need help to code in java to read a text file...i am beginner in java..pls help me Pin
Richard MacCutchan27-Oct-13 23:52
mveRichard MacCutchan27-Oct-13 23:52 
QuestionRe: need help to code in java to read a text file...i am beginner in java..pls help me Pin
thatraja28-Oct-13 1:08
professionalthatraja28-Oct-13 1:08 

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.