Click here to Skip to main content
15,885,032 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: restrict file type and size of form upload javascript only Pin
Snehasish_Nandy24-Nov-13 20:06
professionalSnehasish_Nandy24-Nov-13 20:06 
AnswerRe: restrict file type and size of form upload javascript only Pin
abdul0425-Nov-13 23:53
abdul0425-Nov-13 23:53 
Question[Javascript] Find unused funtions and variables in Javascript using VS2010 Ultimate Pin
Member 1041144619-Nov-13 2:47
Member 1041144619-Nov-13 2:47 
AnswerRe: [Javascript] Find unused funtions and variables in Javascript using VS2010 Ultimate Pin
thatraja19-Nov-13 3:16
professionalthatraja19-Nov-13 3:16 
QuestionHaving a Problem with Return Value in Javascript Function Pin
Doug Pruiett12-Nov-13 16:25
Doug Pruiett12-Nov-13 16:25 
AnswerRe: Having a Problem with Return Value in Javascript Function Pin
Graham Breach12-Nov-13 22:44
Graham Breach12-Nov-13 22:44 
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 

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.