Keepaitulteme
New Member
I have a http post response object got by an ajax post. I have it as a string. i want to access the contents of the first\[code\]<pre>\[/code\] tag in the variable.Example:\[code\]<html> <pre> First </pre> <pre> Second </pre></html>\[/code\]I want to get the text "First". How can i do this? I used dojo xhrpost to perform ajax post.