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

Comments

Popular posts from this blog

Familly tree

Introducing Windows Azure WebJobs (My senior research)

Understanding Oauth2 (you have a option of login)