I have a web page where in some parts I load content with ajax
, in one of these parts, I load a form in which to have the focus a input
, a datepicker
opens.
AND
The problem is that when you bring it with ajax
this plugin
does not open, and if you do not charge it with ajax
, if it opens.
to bring the form is something similar to this.
function traigo_form()
{
$.ajax(
{
data:{enviado: true}
type: "POST",
url: "localhost/miproyecto/traer_form.php",
success: function (data)
{
$('#formulario').html(data);
}
});
}