Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • Do you run jQuery.noConflict(); before all your jQuery commands? This may help. Can you confirm that all the ids are correct when you inspect the DOM and there are no duplicates? Commented Feb 16, 2014 at 15:22
  • Yes to both. However, I managed to get `disable_with' to work by modifying my code. It might be due to a bug in the form helper, but I'm not sure yet. Commented Feb 16, 2014 at 15:28
  • Make sure you have all the needed libraries loaded, like jquery-rails etc. The data attribute "disable-with" should work in all cases. Or is there anything specific YOU do that it doesn't work? Commented Feb 16, 2014 at 17:36
  • @TanelSuurhans please see my answer below Commented Feb 16, 2014 at 18:18