Jquery – In Rails applications, how do we deal with the DOM that appears dynamically?
So as you all know that 1 trick of JS is that let's say for example we bind a click event for all buttons on this page: $(".btn").click(...) <button class='btn'>A</button> <button class='btn'>B</button> then suddenly a button C was added to…