Hello.

The NiceJForms plugin is called like following:

         $.NiceJForms.build();

I build a form dinamically so that I have to call again NiceJForms to
apply it to the new elements.

Here is the problem, if I do:

var options = {
                //some stuff
                success: function() {
                        $.NiceJForms.build();
                }
        };
$('myform').submit(function() {
                $(this).ajaxSubmit(options);
                return false;
        });

then NiceJForms is built twice, so that all elts appear twice.

How could I "un-build" and then build again NIceJform, or call it only
on the new elts?

Any idea is welcome.Thanks.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery (English)" group.
To post to this group, send email to jquery-en@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to