Hi Oggy,
In JavaScript you don't need the fancy interval check thing like you do on windows. So your code can be a lot simpler;
setTimeout(function{
// ajaxGet etc
},500)
NetTalk comes with a function that makes this a bit easier. it's called SetTimer.
So your JavaScript can look like this;
<script>
SetTimer('ProcedureName',500,'somename=value','othername=value');
</script>
Where ProcedureName is a procedure to call in the app (*), 500 is the time period (in milliseconds), param1 and param2 are optional parameters.
note that JavaScript is case sensitive, so be sure to get the word SetTimer right.
(*)
On the server side you make a procedure with the same name. This could be a NetWebPage or a NetWebServiceMethod. The reply should be XML (because the reply will be processed for you by the SetTimer)
Of course this will trigger a timer every 500 milliseconds. Over and over again. If you have 10 users on the page you will get a 10 requests from the page every second. So in general timers like this are not scalable. So while all the information is technically correct, you may find that a) 500ms is waaay too fast and b) using timers in the first place is a _really_ bad idea. Perhaps there are other ways to achieve what you are really wanting to do...
cheers
Bruce