posting a parameter to a jquery dialog box
<p>i have a small problem
well i'm using a jquery dialog box, and i want to post a parameter to this dialog box</p>

<p>this is how i'm using it :</p>

<pre><code>$(document).ready(function() {
        $("#dialogShare").dialog({
                    resizable: true,
                    width:400,
                    modal: true,
                    autoOpen: false 
        });
});

$("#share").click(function(){
    $.post( 
            "/accueil.php",
            { name: $("#idPubToPreview").val() }
    );
    $("#dialogShare").dialog('open');
});
</code></pre>

<p>in the div that display the content of the dialog box "#dialogShare" i do a var_dump of $_POST but it seems to be empty !</p>

<p>any help please ?</p>
