pass data through a ajax request to a callback function
<p>Is it possible to pass data through a Ajax request to the Callback function without global variables?</p>

<p>for e.g. this request function should pass the passData through the callback function which should get also normal response data?!</p>

<pre><code>function rquest(callback, passData){
    $.ajax({
         type: "POST",
         url: someURL,
         success: callback(passData)
    });
};  

function myCallback(data, passData){
    var responseData = data;
    var SomeOtherData = passData
    //do Something
};

rquest(myCallback, "Hello World");
</code></pre>

<p>so "Hello World" should be in passData and data should be the normal response from server...if i do it in this way data is "Hello World" and passData is undefined.</p>