1
I’m trying to load a page using the Jquery function. load(), I use a modal to display the content on the main page, the problem is that within the modal has some functions that depend on jQuery (input mask, Jquery Datepicker and others), and do not perform at all. No error is shown in the console.
Here’s an example I did in codepen, to try to illustrate the problem, if you look at the close button it doesn’t work, and you can’t find it in the modal body.
Main archivehttps://codepen.io/laercionunesc/pen/NYBKpw/
File called by . load() https://codepen.io/laercionunesc/pen/jzpNwx
I am available for further clarification on the problem.
You have to call the mask activation functions, among others after the load.
– David Alves
Consider adding the relevant code snippets into your own question, the editor has the option to insert code...questions with codes hosted in other services tend to not receive much attention, inevitably go unanswered or gain "downvotes"
– Lauro Moraes