我希望避免使用redirect_back来防止在重新加载后被发送回屏幕顶部,因此我将向link_to标记添加一个JS单击监听器,代码如下:<h5 class='my-linkbottom of my application layout $('.my-link').click(function (event) { });JS代码侦
--I coult not get the page to display properly by putting the JS code here.("B").outerHTML = '<div id="dwnB" class="down" align="center" onclick="location.reload();"><h2><b>The</b></