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

        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