it seems that not the text-method is wrong, but how Opera handles 503- errors (bad request).... The other brwosers return the php echo'd string in the xmlhttp-object as responseText, but Opera not. Sorry ;-)
On 20 Nov., 13:10, dfd <[EMAIL PROTECTED]> wrote: > Hi. > > I have to strip html-tags from a string. I use $(a.response).text(), > which works in FF 2.x, IE 7, Safari 3Beta, all on win xp, but with > Opera 9.24 i get the complete html-document, while a.response is > "[12:00] <span style...>Error</span>" > > Is there any other simple method to strip the span-tag? In general i > would prefer the .text method, since its easy to use. > > TIA, frank aka dfd