Subscribe to my Feed, follow me on Twitter, recommend me on Working With Rails or see my code on GitHub
Comment
You're viewing a comment to the post Buttons? What buttons?
Subscribe to my Feed, follow me on Twitter, recommend me on Working With Rails or see my code on GitHub
You're viewing a comment to the post Buttons? What buttons?
Ice Ice Baby
By Benedikt Köppel at Wed 20 Aug 12:57
Hi, I’m trying to get this button-to-script work with my website. I put the javascript from above into ‘application.js’, and it gets included by ‘javascript_include_tag :defaults’. But I don’t have my buttons generated with button_to, but with ‘submit_tag …, :class => ’button-to’. This should work, shouldn’t it?
I checked with Firebug, that my <input type=“submit”-tags have the class set to button-to, and thats okay. But those buttons just stay normal.
What are the points I have to look at, to get it really work?
Thanks, Benedikt