Hi mrf,
Something like this?
/*************************/
function view_onopen()
{
getAlert();
}
function getAlert()
{
debug.trace(getUpdate());
view.alert("in alert");
view.setTimeout("getAlert()",3000);
}
function getUpdates(){
return "Update!";
}
/*************************/
Best Regards,
Wagner Nitsch Bressan
On Thu, Mar 4, 2010 at 3:02 AM, mrf <[email protected]> wrote:
> Hey., I hav written the following code for getting an alert in every 3
> seconds
>
> /
>
> *************************************************************************************/
>
>
> function view_onopen()
> {
> getAlert();
> }
> function getAlert()
> {
> view.alert("in alert");
> view.setTimeout("getAlert()",3000);
> }
>
> /
>
> *************************************************************************************/
>
> It is working fine., now I'm trying to call a function 'getUpdates()'
> method from 'getAlert()' method, in which i am writing code to request
> my server to get updates if any.. but it is not working....
>
> any suggestion from u...
>
> also I increased the duration from 3 sec to 30 sec., even though it is
> not working...
>
>
> waiting for ur suggestion...
>
> thank u in advance
>
>
--
You received this message because you are subscribed to the Google Groups
"Google Desktop Developer Group" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-desktop-developer?hl=en.