That is always saying the field is empty.
On Dec 6, 5:24 pm, "Erik Beeson" <[EMAIL PROTECTED]> wrote: > Maybe try: > if($('#text').is(':empty')) > > --Erik > > On Sat, Dec 6, 2008 at 2:12 PM, Costaud <[EMAIL PROTECTED]> wrote: > > > Hello, > > > I'm wondering if this is the correct way of checking whether the > > textbox is empty or not: > > > if ($("#text").val() == '') > > > Thanks.