Form Submit button only works after reload

前端 未结 6 1367

I have an index page that builds a table, and I am trying to allow users to edit line\'s in the table. I am trying to do this in the most basic way possible - no javascript

6条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-29 09:53

    If it's Rails 4, it's probably because of Turbolinks. Try putting

    data-no-turbolink="true" inside your body tag
    

    This may work, it happend once to me.

提交回复
热议问题