View Full Version : i think there is an error on dynamicdirve's ajax routine script

12-18-2008, 09:24 AM
1) Script Title: Basic Ajax Routine (get & post)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxroutine.htm

3) Describe problem:

i think there is a problem with this script
this script works perfect if we just use it as single script activity,

but there is always an error occured if we use many ajax routine script in 1 page.

look at the problem below...

i have 2 ajax routine on my page,
*the first is used to check how many member that are online ( member onliner)
*the second is used to check how many member that are on chat page (chat onliner)

THE PROBLEM is, sometimes it work well, but sometimes the result of member onliner is displayed on chat onliner div ,

sometimes it work well again, but next, the chat onliner result is displayed on member onliners div..

and so on...

it look like my script is confusing to place its result.

please pay attention, it sometimes work well , sometimes not.

:confused: hum, i'm little difficutl to explain my problem, i hope anyone here can understand what i wrote here.