I have the following example:
Is there a way to check if this element exists and ha
The input won't have a value if it doesn't exist. Try this...
if($('.input1').val())