link_to_function (ActionView::Helpers::JavaScriptHelper)

    # File lib/action_view/helpers/javascript_helper.rb, line 82
          def link_to_function(name, *args, &block)
            html_options = args.extract_options!
            function = args[0] || ''

            html_options.symbolize_keys!
            function = update_page(&block) if block_given?
            content_tag(
              "a", name,
              html_options.merge({
                :href => html_options[:href] || "#",
                :onclick => (html_options[:onclick] ? "#{html_options[:onclick]}; " : "") + "#{function}; return false;"
              })
            )
          end