Welcome To Snipplr


Everyone's Recent Rails Snippets Tagged javascript



« Prev 1 Next »
tag links with .click function
0 701 posted 13 years ago by insanedreamer
Put this in application layout for global use. Have a hidden div called 'loadicon' with a loading icon (or whatever) in it, which is shown/hidden on ajax calls.
0 767 posted 13 years ago by insanedreamer
I used to directly inject javascript and CSS into my HEAD elements just like you see in all of the tutorials online and in books. Recently I decided to try a different approach, and I feel this is more in keeping with the ruby and rails "declaration"...
0 805 posted 14 years ago by sgtrock
I used to directly inject javascript and CSS into my HEAD elements just like you see in all of the tutorials online and in books. Recently I decided to try a different approach, and I feel this is more in keeping with the ruby and rails "declaration"...
0 771 posted 14 years ago by sgtrock
« Prev 1 Next »