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.