Well Strike me down and call me a noob
in a haml file:
:javascript
$(function(){$("#div_id_#{my_rails_object.id}").somefunc()});
Wow, the above works!
-
A blog of musings about many things, most particularly humanity; its origins and destiny as well as other interesting and useful things which I have encountered
No comments:
Post a Comment