Last active
May 31, 2018 11:47
-
-
Save chalmagean/ef5447cf1add7e3a8d90a2d50db1ff67 to your computer and use it in GitHub Desktop.
link_to onclick
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%= link_to "javascript: alert('c')" do %> | |
<%= image_tag "foo.png" %> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment