I'm not sure how to retrieve just the block from the browser via ajax, but that's what I want. No tags, navigation, or anything else. Normally if I'm outputting json I echo out the json, and then exit; so none of the rest gets sent. I'm just thinking that there's a better way.
-Don-
On 4/4/2011 5:16 PM, Marty Landman wrote:
Am I missing something here? Why not output the view as a block? Then you can easily theme it prior to jquery switching it on for the desired page section - or should I say page region? :)
Marty
At 05:07 PM 4/4/2011, you wrote:
Hi, I have a node whose main content area needs to be replaced by the output of a View depending on the selection clicked on. This will be done with a jquery call. I configured the View as a page with a view right now, but I don't see anything that would give me just the html of the View, not the surrounding page html. An RSS feed doesn't seem to make sense, because I couldn't format the html around the results.
My thoughts are that I could retrieve the View results as html and just create a new node within the container node right now, but I'm not quite sure of how to get the stripped View results.
Drupal 6.
Any ideas to get me started?