title: Calling multiple functions from single onClick in VBScript
body: <p>I have created a VBScript function that allows users to install a network printer by clicking a button. This works great, but there is no feedback after clicking the button. I'm trying to add an alert after the button is clicked, but I'm having trouble with the syntax.</p>
  
  <p>Here is the functioning onClick function for installing a printer:</p>
  
  <pre><code>&lt;script type="text/vbscript"&gt;
     function AddP(pName)
         Set WshNetwork = CreateObject("Wscript.Network")
         WshNetwork.AddWindowsPrinterConnection pName
     end function
  &lt;/script&gt;
  
  &lt;td&gt;&lt;a href="#" language="vbscript" onclick="AddP('\\PrinterName')"&gt;&lt;input name="Button1" type="button" value="Add"&gt;&lt;/a&gt;&lt;/td&gt;
  </code></pre>