maybe using jquery live ?
On 11 sep, 15:39, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I include a form via Ajax using thickbox like this:
>
> <a class="thickbox" href="#application.vPaths.ADMIN#i18n/task.cfm?
> height=200&width=300&modal=true&task=exportRb&mode=form&rb=#q.Name[i]#"
> title="Confirm export data">
>
> The page called create a dynamic form in the thickbox win.
>
> Now my problem is validate the form:
>
> The normal syntax to bind the form to validation:
>
> $(document).ready(function(){
> $("#addRbItem").validate({
> errorContainer: $("#messageBox1"),
> errorLabelContainer: $("#messageBox1
> ul"),
> wrapper: "li",
> ....................
> do not work cause I think page is already loaded and .ready func do
> not work anymore.
>
> Any suggestion for avoiding an onSubmit= in markup???
>
> Thanks
>
> Andrea