module ajax refresh - Joomla! Forum - community, help and support
hello all, nice meet
i have made module retrieves shoutcast statistics xml source , displays them.
i have created modshoutcaststatshelper class described in tutorials , defined method getstats fetch statistics , display them.
now want refresh stats every 30 secs without reloading entire page. idea call getstats method every 30 secs using ajax request , settimeout. how can access getstats method via ajax?
i have made module retrieves shoutcast statistics xml source , displays them.
i have created modshoutcaststatshelper class described in tutorials , defined method getstats fetch statistics , display them.
now want refresh stats every 30 secs without reloading entire page. idea call getstats method every 30 secs using ajax request , settimeout. how can access getstats method via ajax?
anyone knows how call php function via ajax???
Comments
Post a Comment