Hi frnds., I hav written a code to know refresh the widget using
setInterval(String script, integer Duration) by giving a  alert as

var label = label1;
var edit = edit1;

function onLoad() {
 refresh();
}

function refresh()
{
 var nextTime = 1*60*1000;
        view.setInterval(fun, nextTime);
}
function fun()
{
        view.alert("Refresing...::::");
  label.innerText = "Label:::"; //  label.innerText = "Label
edited:::";
  edit.value = "Edit Value:::"; //  edit.value = "Edit Value
edited:::";
}

like this am getting printed an alert one time for first time and for
the next minute alert getting printed two times..?? and also for the
second minute am trying to update the label and edit values to
commented one but yet the values are not updating.

What actually I need is, I need a gadget which refresh for an interval
of time with updated vlaues so please anyone could help me from this
situation...

Thanks 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.


Reply via email to