I wanted to get the Online User (mysite.com/users/online) to the user Dashboard - I know you have to develope a Widget (Or is there any available widgets for that already?) - but I tried to get the Content of the div with classname "ow_content" from the /users/online page in a "Custom text/HTML" Box!
This is the Content of my custom html box:
<div id="myDiv">
loading...
</div>
<script>
function check() {
$("#myDiv").load("http://mySite.com .ow_content");
}
$(document).ready(function() {
check(); // call the function
});
</script>
This should work, why doesnt it?
thx for your support!
--edit:
... the loading works - because after loading the page, the content of myDiv is getting replaced, but by empty " "
I have done this very often on my other webpages, I'm sure it must work, but not sure why it doesnt.
thx