Welcome To Snipplr


Everyone's Recent Rails Snippets Tagged javascript



« Prev 1 Next »
tag links with .click function
0 82 posted 9 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 97 posted 9 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 90 posted 10 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 90 posted 10 years ago by sgtrock
« Prev 1 Next »