Hi all,
I'm trying to build a bootstrap dashboard. I managed to integrate bootstrap in my apps.
My problem is that I'm trying to refresh tags from AwareIM with javascript, but is not working. Is this a limitation that javascripts are not running in html pages imported in Visul Perspectives??
I am using this code to refresh the html page and in standalone html page it's working (outside of AWM)
<head>
<meta http-equiv="refresh" content="5" />
<!-- This will refresh element every 5 seconds-->
<!-- START script-->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script>
function autoRefresh_div()
{
$("#result").load("<<LoggedInUsername.DashBoardOpenedOrders>>");// a function which will load data every x seconds
}
setInterval('autoRefresh_div()', 5000); // refresh div after 5 secs
</script>
<!-- STOP - Script-->
</head>
<body>
<div id="result"><<LoggedInUsername.DashBoardOpenedOrders>></div>
</body>
What I'm trying to achieve is this:

Any advice will be much appreciated..