function validateTxt(v) { if(v) { v=$.trim(v); if(v==''||v==null) { return false; } }else{ return false; } return true; }