# Interpreting a link statement in "Ajax on Rails"

**URL:** <https://www.ruby-forum.com/t/interpreting-a-link-statement-in-ajax-on-rails/87512>\
**Category:** Rails\
**Created:** [March 3, 2007, 5:48am UTC](https://www.ruby-forum.com/t/interpreting-a-link-statement-in-ajax-on-rails/87512 "2007-03-03T05:48:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![richard](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/f0a364/32.png) [@richard](https://www.ruby-forum.com/u/richard)\
**Post date:** [March 3, 2007, 5:48am UTC](https://www.ruby-forum.com/t/interpreting-a-link-statement-in-ajax-on-rails/87512/1 "2007-03-03T05:48:12Z")

</div>

Hi All,

In Chapter 2, the author adds the following line to create a hyperlink  
in app/views/chapter2/myaction.rhtml:

Inline alert()

Without the href clause, the text “Inline alert” would be rendered  
merely as plain text rather than as a hyperlink, so there would be  
nothing to click on to raise the “onclick” event.

But the ‘="#"’ portion of that clause seems to be superfluous, at  
least in my Firefox browser, ver. 2.0.0.2. If the subject portion is  
not superfluous, how is it to be interpreted?

TIA,  
Richard
