Ok so a bit of background first on why I want to do this, this may also spark someone to suggest a better way of doing this also. I'm always open to ideas!
Basically I have a bunch of content types, call them rooms for the moment. I am using views to sort/search these rooms, works great (as expected with views).
Now what I want is to attach some php and an jquery script to each view result itself, this script will get an ID from a field attached to the view result, this will then be sent as an ajax request get some information and then come back with some results which will then be printed underneath the view result.
How do I go about doing this? I've taken a look at a few of the different hooks available for the views api but can't really figure out which one is the one I want.
Any suggestions are greatly appreciated. Dan