Views 3 (D7) Attaching custom markup to individual view results
Try hook_views_pre_render() see docs and drupal_add_js().


Add the correct JS using drupal_add_js by injecting the JS file using hook_views_pre_render() to fire on the correct view.
Your JS will have to understand the default views output to re-theme / alter HTML output accordingly. Firebug or Chrome Developer tools can help you with that.
you can use $view-&gt;attachment_after to attach like a custom blob of HTML like &lt;div id="mycustom_content"&gt;&lt;/div&gt; so you can muck with this div on your Ajax callback. You can add the view attachment in the view_pre_render