Sachin Gupta
Sachin Gupta

Reputation: 1

Mustache.js template with jquery form validation

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?

Upvotes: 0

Views: 162

Answers (0)

Related Questions