For my show action, I show show.js.erb. This happens when I click the link_to link with the setting :remote => true. How can I set it up so that it works on hover?
:remote => true
Create a link with an attribute that will not run the Rails-UJS driver:
<%= link_to 'mouse over me!', '#', :'data-remote-on-hover' => true %>
and then hook your own event:
$('a[data-remote-on-hover]').hover(function() { // do something })
HTML5 Custom Data Attributes FTW!
http://dev.w3.org/html5/spec/elements.html#embedding-custom-non-visible-data-with-the-data-attributes
Source: https://habr.com/ru/post/1777136/More articles:Intel GMA 4500HD & vsync - c ++NoClassDefFoundError occurs at runtime when I use mutliple Java packages in one Android project - androidThe correct userdir.conf for this .htaccess is .htaccessVB 2010 "variable" is not declared. It may not be available due to its level of protection - variablesRestore full external ESENT backup - extensible-storage-engineplyr only summarizes calls to global functions - scopeHow to update changed buttons in jQuery interface dialog? - javascripthttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1777139/access-file-and-database-on-desktop-from-windows-phone&usg=ALkJrhgUs6_btWmdUVP6RquLkUdmmNIgrgASP.NET Server-side Javascript - javascriptCan a SharePoint workflow start when an email is received in Outlook? - sharepointAll Articles