= JavaScript Fu To Do
Next:
- view helper
- ignore framework files in public/javascript
== RJS View Helper
Use RJS inside a view:
javascript_tag do |page|
page.insert_html :bottom, 'list', "
#{@item.name}
"
page << "alert('JavaScript with Prototype.');"
page.call 'alert', 'My message!'
end