Hi, I want to refresh a table with data from the database every 30 seconds. I tried to embed a view into a view while calling an action with JQuery.load(). But it does not work :( . My Code looks like this:
<div id="flashAlert">
<script>
var Data = {
id: "{{ id }}"
};
setIntervall($('#flashAlert').load("someUrl", Data, function (responseTxt, statusTxt)), 5000);
</script>
</div>
The Route "someUrl" works and the view is rendered correct.