Mobile Scheduler

Dear support,

$$(“scheduler”).load("function/get_activity_list.php?cna=samli,“json”);

Can I alert some message if there is any errors(such as timeout) in loading JSON from the php. Could someone please advise?

reference link: http://202.75.84.150/mobile/showScheduler.php

Hello,

Please read the article about management of loading errors

For example you can use set the 3rd parameter in load method:

$$("scheduler").load("function/get_activity_list.php?cna=samli","json",{
	success: function(){...},
	error:function(){...}
});

Yes, I tried it.

But I found the success function called only in the first load.

If I select another month, suppose get_activity_list.php and success function is called. However success message is not showing up.

Please advise

reference link: http://202.75.84.150/mobile/showScheduler.php

It’s correct because load() method with your handler called only once.
You can set onLoadError event handler for the scheduler in case of dynamic loading:

$$("scheduler").attachEvent("onLoadError",function(){
   ...
});

Thanks Maria~