JavaScript_Solution_21July2017
Hello Friends,
While I start to work in javascript, I found the most important issue we are facing as follows....
---------------------------------------------------------------------------------------------------------------
ISSUE:-
1) var fromDate=document.getElementById("fromDate").value;
if(fromDate !== "undefined" && fromDate!=null) etc.......
-----------------------------------------------------------------------------------------------------------------
Solution:-
1) You have to sipmly check
if(fromDate);
No need to write extra code for that....
--------------------------------------------------------------------------------------------------------------------------
Thank you
Pavan Dhokne
While I start to work in javascript, I found the most important issue we are facing as follows....
---------------------------------------------------------------------------------------------------------------
ISSUE:-
1) var fromDate=document.getElementById("fromDate").value;
if(fromDate !== "undefined" && fromDate!=null) etc.......
-----------------------------------------------------------------------------------------------------------------
Solution:-
1) You have to sipmly check
if(fromDate);
No need to write extra code for that....
--------------------------------------------------------------------------------------------------------------------------
Thank you
Pavan Dhokne
Comments
Post a Comment