jQuery with JSF (Woodstock)
Hi all,
I am using some jQuery stuff together with Woodstock UI components. Basically I have some auto validation text field, which is making an AJAX call to checkif user has entered valid login, e.g.
<webuijsf:textField id="login" columns="30" binding="#{app$users$Users.login}" autoValidate="true" validatorExpression="#{app$users$Users.checkLogin}" notify="Users:formUsers:alertUser" />
So when user enters some value and leaves the text box it makes an AJAX call to the server to validate the value. This works fine. But I have other javascript component on the same page using jQuery. After the AJAX call is done and then I try to call
$("body") in that component I get an exception because
$("body") is undefined.
Does anyone know what is causing this? Is there any solution?
Thanks a lot!
Marek.