title: Calling multiple javascript functions on event
body: <p>I'm using the ajaxcontroltoolkit and trying to call a couple of functions on a tab changed event.</p>
  
  <p>I want to call more than one js function from my OnClientActiveTabChanged function but keep getting the error </p>
  
  <pre><code>Webpage error details
  
  User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR      1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET     CLR 3.0.4506.2152; .NET CLR 3.5.30729)
  Timestamp: Tue, 24 Nov 2009 12:31:43 UTC
  
  
  Message: Expected '}'
  Line: 202
  Char: 181
  Code: 0
  URI: http://localhost/.../.../....aspx?ID=1000&amp;propertyFrameWidth=1234&amp;propertyFrameHeight=603&amp;userId=9&amp;employeeId=526&amp;CCId=2&amp;DbConnTag=TSDBConnection
  </code></pre>
  
  <p>Update, I've just noticed this happens even for basic alert statements..</p>
  
  <pre><code>OnClientActiveTabChanged="alert('testone');alert('testtwo');"
  </code></pre>
  
  <p>Line giving the problem:</p>
  
  <pre><code>Sys.Application.add_init(
  function() 
  {
      $create(AjaxControlToolkit.TabContainer, 
              {
               "activeTabIndex":0, 
               "clientStateField":$get("ctrlJobPropertiesView_tbcTabContainer_ClientState")
              },
              {
               "activeTabChanged":alert('testone');alert('testtwo');
              },
              null, 
              $get("ctrlJobPropertiesView_tbcTabContainer")
          );
  });
  </code></pre>