<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word"><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META content=Word.Document name=ProgId>
<META content="MSHTML 6.00.2719.2200" name=GENERATOR>
<META content="Microsoft Word 10" name=Originator><LINK 
href="cid:filelist.xml@01C2583B.4886E530" rel=File-List><!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
   <w:UseFELayout/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
<STYLE>
<!--
 /* Font Definitions */
 @font-face
        {font-family:PMingLiU;
        panose-1:2 2 3 0 0 0 0 0 0 0;
        mso-font-alt:\65B0\7D30\660E\9AD4;
        mso-font-charset:136;
        mso-generic-font-family:roman;
        mso-font-pitch:variable;
        mso-font-signature:3 137232384 22 0 1048577 0;}
@font-face
        {font-family:"\@PMingLiU";
        panose-1:2 2 3 0 0 0 0 0 0 0;
        mso-font-charset:136;
        mso-generic-font-family:auto;
        mso-font-pitch:auto;
        mso-font-signature:0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:PMingLiU;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;
        text-underline:single;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        mso-style-noshow:yes;
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:windowtext;}
span.SpellE
        {mso-style-name:"";
        mso-spl-e:yes;}
span.GramE
        {mso-style-name:"";
        mso-gram-e:yes;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        mso-header-margin:35.4pt;
        mso-footer-margin:35.4pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</STYLE>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */ 
 table.MsoNormalTable
        {mso-style-name:"Table Normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";}
</style>
<![endif]--></HEAD>
<BODY lang=EN-US style="tab-interval: 36.0pt" vLink=purple link=blue>
<DIV><FONT face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> 
javascript-admin@LaTech.edu [mailto:javascript-admin@LaTech.edu] <B>On Behalf Of 
</B>George Tsang<BR><B>Sent:</B> Monday, September 09, 2002 4:59 
PM<BR><B>To:</B> Javascript@LaTech.edu<BR><B>Subject:</B> [Javascript] Invoke 
onclick event of one button from clicking a second button<BR></FONT><FONT 
face="Courier New" size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Greetings,<o:p></o:p></SPAN></FONT></DIV>
<DIV class=Section1>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT face="Courier New" 
size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT face="Courier New" 
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">I have set up 
the following:<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT face="Courier New" 
size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT face="Courier New" 
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">&lt;button 
id="<SPAN class=SpellE>abutton</SPAN>" <SPAN class=SpellE>onclick</SPAN>="<SPAN 
class=GramE>alert(</SPAN>'A clicked')"&gt;A&lt;/button&gt; 
<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT face="Courier New" 
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">&lt;<SPAN 
class=SpellE><SPAN class=GramE>br</SPAN></SPAN>&gt; 
<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT face="Courier New" 
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">&lt;button 
id="<SPAN class=SpellE>bbutton</SPAN>" <SPAN class=SpellE>onclick</SPAN>="stuff 
= <SPAN class=SpellE>document.getElementById</SPAN> ('<SPAN 
class=SpellE>abutton</SPAN>'); <SPAN class=SpellE><SPAN 
class=GramE>stuff.click</SPAN></SPAN><SPAN 
class=GramE>(</SPAN>)"&gt;B&lt;/button&gt;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT face="Courier New" 
size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p></o:p></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT face="Courier New" 
size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p></o:p></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT 
face="Courier New"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p><SPAN 
class=681511400-10092002><FONT 
face=Verdana>-----------------------</FONT></SPAN></o:p></SPAN></FONT></P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT 
face="Courier New"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p><SPAN 
class=681511400-10092002></SPAN></o:p></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT 
face="Courier New"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p><SPAN 
class=681511400-10092002></SPAN><SPAN class=681511400-10092002><FONT 
face=Verdana>George,</FONT></SPAN></o:p></SPAN></FONT></P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT 
face="Courier New"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p></o:p></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT 
face="Courier New"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p><SPAN 
class=681511400-10092002><FONT face=Verdana>You could try 
this:</FONT></SPAN></o:p></SPAN></FONT></P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT 
face="Courier New"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p><SPAN 
class=681511400-10092002></SPAN><SPAN class=681511400-10092002><FONT 
face=Verdana>&lt;button id="bbutton" 
onclick="document.getElementById('abutton').click()"&gt;B&lt;/button&gt;</FONT></SPAN></o:p></SPAN></FONT></P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT face=Verdana><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p><SPAN 
class=681511400-10092002></SPAN></o:p></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT face=Verdana><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p><SPAN 
class=681511400-10092002>Works in Moz1.1.</SPAN></o:p></SPAN></FONT></P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT face=Verdana><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p><SPAN 
class=681511400-10092002></SPAN></o:p></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT face=Verdana><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p><SPAN 
class=681511400-10092002>Regards,</SPAN></o:p></SPAN></FONT></P>
<P class=MsoNormal style="mso-layout-grid-align: none"><FONT face=Verdana><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><o:p><SPAN 
class=681511400-10092002>Harry</SPAN></o:p></SPAN></FONT></P></DIV></BODY></HTML>