I am using a jquery form in one of the projects I'm working on. Since this is the admin panel, I really have no way to show. I will explain my problem
What I'm trying to do is pretty simple. I add some form elements (e.g. check box, check box, text input) to the page using ajax.
Every thing works, except for re-modeling these dynamically added form elements.
function step2 () { $.post( siteUrl + "includes/ajax/members/add-subscription.php?do=step2", $("#selectedSubscribers").serialize(), function( data ) { $('.step2_content').html(data); $.uniform.update(); }); }
Has anyone experienced a similar problem? Even my onClick, onChange functions work without problems (dynamically added form elements), it's simple, $.uniform.update(); doesn't seem to work.
I thought it might take longer to process the data, so $ .uniform.update (); called before data processing, so I have not tried $.ajax with async: false .
I would be glad if someone who has experienced such a problem or who knows a solution can help me solve this problem.
Thanks in advance.
Revenant
source share