> $.ajax({ type: "GET",
> url: "test.cfm",
> dataType: "xml",
> success: function(msg){
> alert( $( "MyText", msg ).text() );
> }
> });
Ok, this is the dicey part that I was referring to the other day. The
other night I made a design decision concerning $.ajax() to make it
work smoother. Specifically, 'msg' is now the data (as what is
documented in /api/). However, this is only in jQuery SVN:
http://jquery.com/src/jquery-svn.js
Otherwise, if you're using 1.0.1, use the technique that Klaus
outlined (however, this is deprecated).
--John
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/