The following code can not run:
This is a test
How to combine the <%= %> pairs with the javascript code?
The following code can not run:
How to combine the <%= %> pairs with the javascript code?
pinnacle wrote:
The following code can not run:
This is a testfunction foo(id) { Element.hide($(id)); <% for name in [:notice, :warning, :message] %> <% if flash[:notice] %>
Is that a typo, or do you mean flash[name]?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs