Hi Jake I tested with var pars= {text1:jQuery("#Text1").val()};
and var pars = jQuery('#test1').formSerialize(); same result :_________( I have updated the public server with: var pars = jQuery('#test1').formSerialize(); Maybe it can help us to do test. I hope that finally we get the solution. Moreover I think that it can be a comon issue because there are a lot of "old" web pages that wants to add ajax and maybe they can not change all the charset. thanks for all. On 19 jun, 20:30, "Ⓙⓐⓚⓔ" <[EMAIL PROTECTED]> wrote: > var pars= "text1="+jQuery("#Text1").val(); > should be a normal object! > var pars= {text1:jQuery("#Text1").val()}; > or a result from $.serialize > > On 6/19/07, oscar esp <[EMAIL PROTECTED]> wrote: > > > > > > > > > Hi finally I got a public server to puplish the link: > > >http://www.grupofusion.com/testcharset/testtBlock.asp > > > the code: > > _____________ > > > testtBlock.asp > > > <html> > > <head> > > <META http-equip="Content-Type" content="text/html; > > charset=iso-8859-1"> > > <title>Generación Cartel</title> > > <script > > src="/InmoFusion2/libs_Ext/jquery/jquery.js"></script> > > <script> > > jQuery.noConflict(); > > </script> > > <script > > src="/InmoFusion2/libs_Ext/jquery/jquery.form.js"></script> > > <script src="/test/testpo.js"></script> > > </head> > > <body> > > <form id="test1" action="test2.asp" method="post"> > > <INPUT id="Text1" type="text" name="Text1"> > > <INPUT id="td" type="button" > > onclick="guardarApunte();" > > value="Submit" name="Submit1"> > > </form> > > <div id="dRes"> > > </div> > > </body> > > </html> > > ________________ > > > the js > > > function guardarApunte() > > { > > debugger; > > jQuery.ajaxSetup({contentType: "application/x-www-form-urlencoded; > > charset=iso-8859-1"}) ; > > jQuery.pair = function(f,v) {return escape(f) + "=" + escape(v)}; > > var url = "test2.asp" > > var pars= "text1="+jQuery("#Text1").val(); > > jQuery.ajax({ > > type: "post", > > url: url, > > data: pars, > > async: false, > > success: function(data) > > { > > debugger; > > jQuery("#dRes").html(data); > > } > > }); > > > } > > > ______________________ > > > the page that get the post > > > <META http-equip="Content-Type" content="text/html; > > charset=iso-8859-1"> > > <% > > Response.AddHeader "Content-Type", "text/html; charset=iso-8859-1" > > > Response.Write("response: "+request.Form("text1").item) > > %> > > -- > Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ- Ocultar texto de la cita - > > - Mostrar texto de la cita -