do a diff -u between the 2 versions.... is there anything more than a slight
change in param: ?



On 6/21/07, oscar esp <[EMAIL PROTECTED]> wrote:


I have some issues with jquery . When I use the jquery from your
branch I get some error in code that works fine with official 1.2
version.

I have ajax calls that returns a html in order tu full a div. Seems
that if  "data" has html doesn't work.... Seems that type param doesn't
work.....

Example:

1- This work fine with official version

var url = "test2.asp"
var pars= "

method=getEstadoCons&cmpAction=&outType=1&idComponent=COD_EST_CONS_Sel&idName=COD_EST_CONS"
jQuery.ajax({
                        type: "post",
                        url: url,
                        data: pars,
                        async: false,
                        dataType: "html",
                        success: function(data)
                        {
                                jQuery("#dRes").html(data);
                        }
        });

(data is = "<SELECT id='COD_EST_CONS_Sel' name='COD_EST_CONS'
class='undefined'  ><OPTION value='-1'>Seleccione un valor</
OPTION><OPTION value='1' >Nuevo</OPTION><OPTION value='2' >A reformar</
OPTION><OPTION value='3' >Semi Nuevo</OPTION></SELECT>")


But it doesn't work fine with your jquery version. Never enter in
success method, however the call to test2.asp (that returns the
select) is done.
If I delete the dataType then success function is executed.

Seems that there are some issue with dataType param.

Maybe it is not possible but: Could we add the charset setup into 1.2
official version? I need to be sure that putting the cahrset we don't
"crash other" things...

Seems that be never fix! the problem.

Thanks Jake.




--
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ

Reply via email to