title: How can we pass multiple parameters to onSuccess method of PageMethod?
body: <p>I'm calling PageMethod "SameMethod" from javascript method "caller" so that I can get some values from DB. After I get values, control is continuing in "onSuccess" method. Problem is that I need to use some variable values ("importantValue") from javascript method "caller" in "onSuccess" method.   </p>
  
  <pre> 
  function caller(){
      var importantValue = 1984;   
      PageMethod.SomeMethod(param1,..., onSuccess, onFailure)
  }
  </pre>
  
  <p>onSuccess method should be something like this:</p>
  
  <pre>
  function onSuccess(pageMethodReturnValue, importantValue ){
  
  }
  </pre>
  
  <p>Is it possible and, if it is, how to pass multiple parameters (besides return values of page method) to "onSuccess" method of PageMethod?</p>
  
  <p>Thanks for help</p>