travisbrown
Technical User
- Dec 31, 2001
- 1,016
So I'm in this situation where I need to call in a chunk of code from another page. Not the whole page, just a table inside a div with an id="SelectedContent".
I have no problem pulling in the entire page content using an AJAX request. Question is, what is the best method for parsing out just the required code?
My first through is use regex on the returned string, but my first thoughts are usually unwieldy.
I have no problem pulling in the entire page content using an AJAX request. Question is, what is the best method for parsing out just the required code?
My first through is use regex on the returned string, but my first thoughts are usually unwieldy.