In the code of an XML view, should the semicolon be included when
calling a function? For example:
onopen="view_onOpen();"
vs.
onopen="view_onOpen()"
I've seen both, and changing this doesn’t seem to effect anything when
calling a function from an XML event. Although I have noticed it
doesn’t work if you omit the semicolon when calling a string from a
language file such as:
&strText;
vs.
&strText
Another item: I understand the difference between setTimeout and
setInterval Timers. However, I’m again asking about correct syntax
because it seems to work either way.
noAnswerTimer = setTimeout("serverTimedOut()", 40000);
vs.
noAnswerTimer = setTimeout(serverTimedOut, 40000);Just wondering what the best practice methods are. TIA Austin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
