Send info to a php page uisng jQuery and $.get
<p>Here's my problem: I'm using the datepicker form jQuery UI for selecting a date and after the date is selected I'm trying to send the date selected to a php file!
Here's what I've tried but does not work:</p>

<pre><code>$( "#datepicker" ).datepicker({
    onSelect: function(dateText, inst) { 
        $.get("myPhpFile.php",{ data: dateText },
                    function(data) {
                            alert(data);
                    }

      );});
</code></pre>

<p>After the date is selected - the alert box apears but nothing seems to happen!
What am I doing wrong?</p>
