<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>RE: [Javascript] General design question</TITLE>

<META content="MSHTML 6.00.2462.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=291254612-17072001><FONT face=Arial color=#0000ff size=2>On one 
of my pages I use  &lt;BODY onload="setVariables(); checkLocation();"&gt;. The 
semicolon is the JavaScript terminator but JavaScript is loosely typed and 
doesn't complain if you omit it.&nbsp;Try&nbsp;your code&nbsp;with different 
browsers and let us know what you find out.</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<P><FONT size=2>Bob Filipiak (Contractor)<BR>MCP </FONT></P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Andrew Dunn 
  [mailto:adunn@mail.interworx.com.au]<BR><B>Sent:</B> Tuesday, July 17, 2001 
  2:24 AM<BR><B>To:</B> javascript@LaTech.edu<BR><B>Subject:</B> [Javascript] , 
  or ;<BR><BR></FONT></DIV>
  <DIV><SPAN class=380252206-17072001><FONT face=Arial color=#0000ff 
  size=2>Hi,</FONT></SPAN></DIV>
  <DIV><SPAN class=380252206-17072001><FONT face=Arial color=#0000ff 
  size=2>&nbsp;&nbsp;&nbsp; I'm wondering when you call two functions from the 
  same event ie. onchange="function1();function2()"</FONT></SPAN></DIV>
  <DIV><SPAN class=380252206-17072001><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=380252206-17072001><FONT face=Arial color=#0000ff size=2>I've 
  used the , instead of the ; before and it seems to work.</FONT></SPAN></DIV>
  <DIV><SPAN class=380252206-17072001><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=380252206-17072001><FONT face=Arial color=#0000ff size=2>Is 
  there a difference between these when doing this?</FONT></SPAN></DIV>
  <DIV><SPAN class=380252206-17072001><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=380252206-17072001><FONT face=Arial color=#0000ff 
  size=2>Regards,</FONT></SPAN></DIV>
  <DIV><SPAN class=380252206-17072001><FONT face=Arial color=#0000ff 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=380252206-17072001><FONT face=Arial color=#0000ff 
  size=2>Andrew</FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>