[jQuery] if ($("#field").val() == '') or something more elegant?
[jQuery] if ($("#field").val() == '') or something more elegant?
Hello,
I'm wondering if this is the correct way of checking whether the
textbox is empty or not:
if ($("#text").val() == '')
Thanks.
Topic Participants
costaud
erik.beeson
sales
kswedberg
joseph.isaac