Click here to Skip to main content
15,887,683 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: in MVC Edit page, how to check for null values? Pin
Member 117338681-Jul-15 13:56
Member 117338681-Jul-15 13:56 
AnswerRe: in MVC Edit page, how to check for null values? Pin
Afzaal Ahmad Zeeshan30-Jun-15 22:07
professionalAfzaal Ahmad Zeeshan30-Jun-15 22:07 
GeneralRe: in MVC Edit page, how to check for null values? Pin
Member 117338681-Jul-15 13:40
Member 117338681-Jul-15 13:40 
GeneralRe: in MVC Edit page, how to check for null values? Pin
Afzaal Ahmad Zeeshan1-Jul-15 14:49
professionalAfzaal Ahmad Zeeshan1-Jul-15 14:49 
GeneralRe: in MVC Edit page, how to check for null values? Pin
Member 117338681-Jul-15 15:01
Member 117338681-Jul-15 15:01 
Questionexternal javascript not working Pin
nordyck29-Jun-15 7:31
nordyck29-Jun-15 7:31 
AnswerRe: external javascript not working Pin
Kornfeld Eliyahu Peter29-Jun-15 8:13
professionalKornfeld Eliyahu Peter29-Jun-15 8:13 
GeneralRe: external javascript not working Pin
Member 1173386829-Jun-15 12:47
Member 1173386829-Jun-15 12:47 
but i can put alert messages in there and they get fired off in other parts of the same script section

you get variables from the database there in that edit form sitting in the controls mostly textboxes and then when clicking submit they all get sent into the db to update the db table

so in the html the variable is there, sometimes its visible in the alert("value is: "+ $'(variablename).val'));

but if the variable.val() isnull or == null or == "" then it should set that variable.val() = "No";

sometimes it works, sometimes not this is with a handler that runs after the window.load ? when the DOM is fully ready and all the images are drawn, then it runs code to check for certain null values and if null replace that with string 'no' otherwise dont care.

thanks
AnswerRe: external javascript not working Pin
Leng Vang2-Jul-15 9:38
Leng Vang2-Jul-15 9:38 
Questionjquery slideshows Pin
vikkismarty29-Jun-15 5:21
vikkismarty29-Jun-15 5:21 
QuestionStore one value from rows of data in a table Pin
Rajesh_198025-Jun-15 3:29
Rajesh_198025-Jun-15 3:29 
AnswerRe: Store one value from rows of data in a table Pin
jkirkerx26-Jun-15 8:46
professionaljkirkerx26-Jun-15 8:46 
GeneralRe: Store one value from rows of data in a table Pin
Rajesh_198029-Jun-15 6:31
Rajesh_198029-Jun-15 6:31 
GeneralRe: Store one value from rows of data in a table Pin
jkirkerx29-Jun-15 6:59
professionaljkirkerx29-Jun-15 6:59 
QuestionComparing two dates Pin
ap@238722-Jun-15 20:44
ap@238722-Jun-15 20:44 
AnswerRe: Comparing two dates Pin
User 418025410-Jul-15 12:01
User 418025410-Jul-15 12:01 
QuestionHow can I convert image to video in Javascript? Pin
Member 1161266222-Jun-15 20:33
Member 1161266222-Jun-15 20:33 
AnswerRe: How can I convert image to video in Javascript? Pin
jkirkerx26-Jun-15 8:55
professionaljkirkerx26-Jun-15 8:55 
QuestionShow more messages in a scroller Pin
Rajesh_198022-Jun-15 10:32
Rajesh_198022-Jun-15 10:32 
QuestionHow can I convert audio channel from mono to stereo in Javascript? Pin
Member 1161266218-Jun-15 21:29
Member 1161266218-Jun-15 21:29 
Question99 Bottles of Beer Pin
Simewu15-Jun-15 16:29
professionalSimewu15-Jun-15 16:29 
GeneralRe: 99 Bottles of Beer Pin
PIEBALDconsult15-Jun-15 17:40
mvePIEBALDconsult15-Jun-15 17:40 
GeneralRe: 99 Bottles of Beer Pin
Simewu16-Jun-15 17:36
professionalSimewu16-Jun-15 17:36 
Answer99 Bottles of Beer Pin
Simewu16-Jun-15 17:42
professionalSimewu16-Jun-15 17:42 
GeneralRe: 99 Bottles of Beer Pin
PIEBALDconsult16-Jun-15 18:09
mvePIEBALDconsult16-Jun-15 18:09 

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.