javascript - How do I parse XHTML document from Ajax request? -


i have xhtml document received via ajax. how content of <title> tag? tried invoking getelementsbytagname() on xhtml document, error says variable referencing xhtml document doesn't have getelementsbytagname() method.

assuming xhtml valid, should able use responsexml xmlhttprequest xmldocument representation of markup.

alternatively try creating div, , setting responsetext div's innerhtml.


Comments

Popular posts from this blog

sql - text truncated using perl DBI insert -

c++ - Is it possible to compile a VST on linux? -

php - Pass object by reference or value -