If you mean the actual content of spdetail313.html you're going to need to read it via ajax then instead of returning $(this).html() you'll return the contents of the file. As it stands $(this).html() should return "Service Package 313" which is the html enclosed in the a tag.
On Tue, Nov 8, 2011 at 2:24 PM, Scott Stewart <[email protected]>wrote: > > Ok, > > I'm missing something simple here... > > I have a link: > <a href="spdetail313.html" title="Service Pack 313" > class="spTip">Service Package 313</a> > > I have this piece of JS to call a JQuery tooltip > $(".spTip").tooltip({ > bodyHandler: function(){ > return $(this).html(); > } > }); > > It creates a tooltip with the title text (ok) and the file name from the > url... > I need to inject the contents of the file into the tooltip > > what the heck did I miss? > -- > -- > Scott Stewart > Adobe Certified Instructor, ColdFusion 8 & 9 > Adobe Certified Expert, ColdFusion 8 & 9 > > Blog: http://www.sstwebworks.com > Email: [email protected] > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:343957 Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-community/unsubscribe.cfm
