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.

Reply via email to