I'm using a
$(".titleField").on("change", function () {
// change title
alert("hello");
});
On a field that I've loaded with ajax call:
<input class="form-control autosize titleField text-box single-line valid" type="text" value="">
But I have no alert that are shown and no error in the console, why? How can i bind the on change on this item loaded in a partial webpage?
When I put the selector in console, it shows me right input...
Thanks in advance