Same problem with the most simple $post wrapper; i have this
javascript function

function anteprima(){

        dati = new Array();
        dati [0]=tinyMCE.get('txtitaliano').getContent();
        dati [1]=$("#paginaitaliano").val();
        dati [2]=$("select[name='gmap']").val();
        $.post("ad/anteprima.php", { txtitaliano: dati[0],paginaitaliano: dati
[1],gmap: dati[2] } );
}

into the anteprima.php file a simple var_dump($_POST) output this

array(0){
}

But with jquery 1.2.6 the same line in the php file (i.e. var_dump
($_POST)) output the correct post ,

array(3) {
  ["txtitaliano"]=>
  string(11) "<p>txt example</p>"
  ["paginaitaliano"]=>
  string(5) "pagina"
  ["gmap"]=>
  string(1) "0"
}

I have read the documentation but i have not found a tip for manage
the problem

Reply via email to