Rails dynamic content in jQuery qTip2
问题 I got my jQuery qTip2 working but I have one last thing to solve: getting dynamic content to display as a link in the tooltip. (I'm new to all this so please bear with me.) Here's what I have now to get the qTip to show: $(document).ready(function() { $('span[title]').qtip({ position: { my: 'bottom center', at: 'top center' }, hide: { fixed: true }, style: { classes:'ui-tooltip-shadow ui-tooltip-rounded' } }); }); Here's my erb file: <li class="article"><span title="<%= author.name %>"> <%=