JQuery .GET call/function
<p>Ok so trying to get a page together that needs to connect to our SQL database. So on the javascript page I have functions that will autocomplete a textbox with data out of our mysql DB and then I need to send it to other functions and classes so that it will then look in our SQL DB and return some data. The problem I have is trying to get the .GET call to call in the php page, with the function that calls the class in which I need to get into for the SQL call. I have it setup somewhat but trying to figure out how to send the data through with it as well as just get clarification on how to work the .GET function.</p>

<p>Javascript page:</p>

<pre><code>$.get("dsl_validate.php", calldsl(job));
</code></pre>

<p>Php Page</p>

<pre><code>function calldsl($job){
    var $dsljob = $job
    hasfunctioncode($dsljob);
}
</code></pre>

<p>The hasfunctioncode function is in my DSL class page that will return the info I need. Any help on if I am in the right direction or not?</p>
