method
javascript_tag
javascript_tag(content)
public
Returns a JavaScript tag with the content inside. Example:
javascript_tag "alert('All is good')" # => <script type="text/javascript">alert('All is good')</script>
javascript_tag(content)
public
Returns a JavaScript tag with the content inside. Example:
javascript_tag "alert('All is good')" # => <script type="text/javascript">alert('All is good')</script>