Pages

Thursday, 13 February 2014

How To Check Undefined or Empty Value Check Value Undefined or Null in jQuery c#

How To Check Undefined or Empty Value Check Value Undefined or Null in jQuery c#



<script type="text/javascript">
 $(function()
 {
 var UserName = $.cookie("UserName");
 if (UserName != '' && typeof UserName != 'undefined')
{ alert(QuestionId);
 }
 })
 </script>


Download Demo

No comments:

Post a Comment