I want to ask if there\'s a better way in jQuery to select multiple text input then check if any of them has a value. Here\'s my code:
if ($(\"#reference\")
Just use this:
if (!$("#id").val().length == 0))