ramblex/modal-form — Issue #2: Hide the link url with 'javascript:void(0)'
Author: regdog
Created: 2011-11-11 08:34:22+00:00
State: open

Since the modal dialog link won't load a new page, so I would like to turn the link url into 'javascript:void(0)'.

I tried with <%= link_to 'New Article', 'javascript:void(0)', :id => 'create_article' %>, while it won't load the content.

Is there a correct way to hide the link url?

Thanks!