Re:Responsive JavaScript in Rails: load what you need when y...
by platz on Wednesday July 17, 2013 @11:28AM
(#6058213)
And yet what about the "JQuery soup" problem that everyone complains about? Isn't that due to having DOM manipulation code strewn about willy-nilly?
In some ways, what I showed in the post is functional.
- Select a DOM i.e var $elem = $("#anElementId")
- Act on it i.e $elem.fadeOut()