Unable to GET data from ajax (get)
<p>I have a little problem with my code ...</p>

<p>I have a page named "listeclients.php" which have several clients with id's etc.
I just made a little button in order to send some data to a page named "actionclient.php", which just has to display the parameters I send to it.
The actionclient.php consists in this :</p>

<pre><code>&lt;?php
echo "test = ";
echo $_GET['test'];
echo $_GET['test2'];
?&gt;
</code></pre>

<p>(It's just a test page).</p>

<p>And here's my jQuery script :</p>

<pre><code>$( "div.modif_dialog").click(function(e4) {
    $( "#editer" ).dialog("open");
    var monUrl4 = 'actionclient.php?action=modifier&amp;id=';
    var url_final4 = monUrl4+pos4;
    $.ajax({
        type: "GET",
        url: url_final4,
        data: { test: "TEST", test2: pos4},
        success: function(){
           alert (pos4);
        }
    });
    $('#editer').load(monUrl4, function(response4, status4) {
        $('#test_dialog2').html(response4);
    });
    e4.preventDefault();
});
</code></pre>

<p>My alert with alert(pos4) works great, and the variables are all correct.</p>

<p>The actionclient.php (url_final4) is well loaded in my dialogbox, but it always just print :
    "test = "</p>

<p>Any clue ?
(I did exactly the same code with a POST method in an another page and it works great... I don't understand.)</p>

<p>Thanks !</p>
