# Include JavaScript from view helpers

**URL:** <https://discuss.rubyonrails.org/t/include-javascript-from-view-helpers/7436>\
**Category:** rubyonrails-talk\
**Created:** [January 19, 2007, 9:22am UTC](https://discuss.rubyonrails.org/t/include-javascript-from-view-helpers/7436 "2007-01-19T09:22:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_N](https://avatars.discourse-cdn.com/v4/letter/d/ba8739/32.png) [@Daniel\_N](https://discuss.rubyonrails.org/u/Daniel_N)\
**Post date:** [January 19, 2007, 9:22am UTC](https://discuss.rubyonrails.org/t/include-javascript-from-view-helpers/7436/1 "2007-01-19T09:22:54Z")

</div>

I have written a plugin that may help you. I'm not sure that I completely understand what you want to do though. But it may help.

[http://www.agilewebdevelopment.com/plugins/resource\_on\_demand](http://www.agilewebdevelopment.com/plugins/resource_on_demand)
