how I can call $("#form").validated() function from jquery-ui-dialog ok button???
note: I don't want to use a submit button from form..
You can do it inside the buttons callback:
$("#dialog").dialog({
buttons: {
"OK": function() {
$(this).find('form').validate().form();
}
}
});