fix it
- lastPostTime = 520;
- function juiceTheMoose()
- {
- $.ajax({
- url: "c.php?t="+lastPostTime,
- cache: false,
- success: function(html){
- if (parseInt(html)>(0))
- {
- $("#komarza").html("•");
- }
- else
- {
- setTimeout("juiceTheMoose()",10000);
- }
- }
- });
- }
- </script>
- <body onLoad="setTimeout("juiceTheMoose()",10000);">
I'm kidding.
The issue I'm having is that it's not working. (yes.. of course)
Let's assume that c.php will return a number from 00 to 99. Let's just assume that page works.
Now let's look at the javascript & html.
If I have this right. I should use the moose juicer after 10 seconds.
it then makes an ajax call to "http://mysite.co/c.php?t=520"
with it's result it then creates the • character in the #komarza span or it doesn't.
does anything stick out horribly wrong?
seot: orEXC62OpgnHOHlMA5zZ
--- Keysle