javascript

Well, if you want to insert some javascript in your partial, you can write out a <script>...</script> tag, or (better), use the javascript_tag() helper:

  <%= javascript_tag "some_js_func();" %>

That will insert a <script> tag to call the function.

Is that what you want, or are you looking for something else?