[jQuery] Blank input value testing
Hello!
Is there any way in jQuery to test if a input value is blank? I mean
similar like:
if ($F('szoveg').blank()) {
...
}
in prototype. With jQuery now i'm using this:
if ($('#szoveg').val()=='') {
...
}
but this not test if a input contains only whitespaces.
Bye!
Lay