It is related to the question here: How to load some html and append to <body> with jQuery?
I been asked to open new question
my problem is:
I have small datepicker that show the current date and the next day. I used the code posted there, but having problem, the problem is that the data is not update, but when I refresh the page it update. I using wordpress and plugin allow to run jQuery
the code that posted there is
$.ajax({
url: "your.html",
success: function (data) { $('body').append(data); },
dataType: 'html'
});
How can I fix this?