Interpreting a link statement in "Ajax on Rails"

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. If the subject portion is
not superfluous, how is it to be interpreted?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs