Mustache.js template with jquery form validation

160 Views Asked by At

I am trying to apply jQuery form validator on the HTML code generated through ajax using $("#target").html(Mustache.render(template, data)) but it is not working.

The issue is that the jQuery validator is not getting attached to the form in the html code generated by Mustache in ajax call.

Query: Is it even possible to apply jQuery form validation on html code rendered by Mustache.js in ajax-success function?

0

There are 0 best solutions below