GRANDISSIMO!!! FUNZIONA!!
Grazie!! Grazie mille!
codice:<script> /* attach a submit handler to the form */ $("#SaveForm").submit(function(event) { /* stop form from submitting normally */ event.preventDefault(); /* get some values from elements on the page: */ var $form = $( this ), term = $form.find( 'input[name="nome"]' ).val(), url = $form.attr( 'action' ); term = $form.serialize() /* Send the data using post and put the results in a div */ $.post( url, { data: term }, function( data ) { var datiricevuti = $( data ).find( "#contenuto" ); var datiricevuti = $( data ); $( "#risultato" ).empty().append( datiricevuti ); } ); $("#risultato").animate({opacity: "1"}, 1500) }); </script>

Rispondi quotando