[jQuery] .ajax problem

[jQuery] .ajax problem


ive been doing a bit of testing with .ajax and am having problems.
<span onClick='$("p.testing123").html("Some text and bold!");
$("p.testing234").append("Some text and bold!");
$.post(
"_ajax.php",{testing:"2"},
function(xml)
{
$("p.testing456").html($("outputt",xml).text());
$("p.testing678").html($("testing",xml).text());
}
)
'

>
click here
</span> |
<span onClick='$.ajax({url: "_ajax.php",
type: "POST",
data: "testing:1",
complete:"",
success: function(xml)
{
$("p.testing456").html($("outputt",xml).text());
$("p.testing678").html($("testing",xml).text());
},
error:""
})'>
or here
</span>
the .post version works just fine, picking the xml out, but the new .ajax
gives me an error of
Error: ret[i].getElementsByTagName is not a function
Source File: http://jquery.com/src/jquery-1.0a.js
Line: 588
any ideas
--
View this message in context: http://www.nabble.com/.ajax-problem-tf1957695.html#a5370025
Sent from the JQuery forum at Nabble.com.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/