AJAX - Search: ?SearchView query

I am looking for a way to integrate the default Domino function to do a search via the ?SearchView command in an AJAX request.

The problem I am facing now that the result is HTML and that I don’t know how to handle this other than a string and display the results as a string.

Rather would I like to use something similar as the .DocumentElement to handle the tree of the HTML document and only display the part of the search result I am interested in.

But I don’t find a way to do this and be able to create of array of elements I am interested in (getElementsByTagName(“Table”)).

Does anyone has some suggestions to include the default Search query in an AJAX approach?

Thanks in advance for your help!

KR Patrick