Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Mark Lindamood's Profile

GitHub User: marc0ni

Comments by Mark Lindamood

Avatar

Passing data to Javascripts through data attributes looks like an especially useful solution to my problem: I'm intending to use this technique to dynamically generate content for multiple popovers.

But I'm left with this question: how is the content file itself set up? As a partial in the same directory as layout referring to it?