hello people
within a toggled .popover I have set html code for a small editor, which
sends ajax requests to an ajax handler.
The handler returns up to date and correct data back.
I want to have a <p name="result_last_command" ></p> beeing refreshed,
which sits within the .popover.content-variable.
For this I use :
$.post ("http://my_ajax_handler_is_here.php",
{data: jsonstring},
function (data) {
daten = JSON.parse(data); // delivers correct data; (up to
date)
$('#result_last_command').html(daten.result.payload +
"\n\n** Pls hit F5 to refresh **").;
//alert(daten.result.payload + "\n\n** Pls hit F5 to refresh
**");
}
);
This seems to work; the content is updated.
--> But if I toggle this .popover, the previous content is displayed -
although appropriate json strings are sent and received.
I would need to refresh the shown .popover Element without using the
reload-Button of the browser. It seems that while rendering the popover the
content is cached, somewhere.
Where can I empty this cache? Or how do I force new content to the
.popover element?
Thank you in advance,
Dkob