[jQuery] How can i read simple text with $.post
Hi,
i have several cgi's just returning flat text like 'OK' or 'ERROR in ...'
Is there a simple way to retrieve the text via $.post or should i wrap $.xml
myself?
Something like
$.post("bla.xml", $.param({ transid: '12' }),
function(xml) { alert ("Hallo "+$(xml).text()); }
);
is not working.
(bla.xml returns 'OK' with Content-Type: text/xml )
Matthias
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/