[jQuery] [validate] with balloons, how too?
Hello all,
I can't do a validate within balloons.
I really have the balloons created with div tags.
Take a look
http://blog.alexsandro.com.br/aa.htm
This sample is a simple balloons fired on focus events.
Now using bassistance validation(http://bassistance.de/jquery-plugins/
jquery-plugin-validation/) I wish make this works!
I alredy try using this:
$("#fteste").validate({
rules:{
T1:{
required: true
},
S1:{
required: true
}
},
messages:{
T1: {
required: "Enter a username",
},
S1: {
required: "Provide a text",
}
},
errorPlacement:function(error, element){
error.appendTo ( element.parent() );
}
});
but not sucess, :(
I thing that errorPlacement is a key for my solution, but, how can I
take the messages into the balloon?
Someone can help-me?
Thz!!