I have the following code:
var inp = $("#txt");
if(inp.val() != "")
// do something
Is there any other way to check for empty textbox using the variable 'inp'
I have the following code:
var inp = $("#txt");
if(inp.val() != "")
// do something
Is there any other way to check for empty textbox using the variable 'inp'