Great catch guys. I just hunted down the bug and fixed it. It's fixed
in SVN rev 972. With any luck, we're going to push a new 1.1b live
tomorrow so that everyone can continue testing.

--John

On 1/9/07, xiaan <[EMAIL PROTECTED]> wrote:
>
> I have the same problem, and think I can trace it to the refactored .html()
> function, which replaces this.attr( "innerHTML", val ) with
> this.empty().append( val ) at line 234 of jquery-1.1a.js. A simplified
> version of my Ajax query is as follows:
>
> jQuery.ajax({
>         url:"foo.htm',
>         type:"POST",
>         data: {'c':'row1','i':'col1'},
>         success: function( data ) {
>                 jQuery('#'+data.c+'_'+data.i).html(data);
>         }
> });
>
> The target element is a table row, and I was previously able to repopulate
> <td> elements inside it with the HTML returned by the AJAH request.
>
> Christiaan
>
>
>
> ronaldo wrote:
> >
> > Hi all,
> >
> > I have a simple page with some ajax to fetch some data based on the value
> > selected in a dropdown box. It was working fine until i upgraded to jquery
> > 1.1a
> > i now get "undefined" as response from the ajax call.
> > Reverting to the previous version of jquery and it works fine again
> >
> > as i'm still very new to jquery; am not sure if this is a bug or just me
> > being thick - does anyone know what am doing wrong ?
> >
> > $("select").change(function(){
> >     $(this).addClass("over");
> >     fetch('Q01');
> >     });
> >
> > function fetch(qid){
> >     data = $("select").val();
> >     $.ajax({
> >       type: "POST",
> >       url: "find.php",
> >       data: "answer=" + data + "&question=" + qid,
> >       dataType: "xml",
> >       success: function(xml){
> >             pts = $("points", xml).text();
> >             $("#feedback").html("result = " + pts);
> >            }
> >     });
> >       }
> >
>
> --
> View this message in context: 
> http://www.nabble.com/Ajax---new-JQuery-1.1a-tf2945119.html#a8249287
> Sent from the JQuery mailing list archive at Nabble.com.
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to