MCQs>IT & Programming>Ruby On Rails>Which is the best way to add a page-specific JavaScript code in a Rails 3 app? <%= f.radio_button :rating, 'positive', :onclick => '$('some_div').show();' %>
Ruby On Rails MCQs
Which is the best way to add a page-specific JavaScript code in a Rails
3 app?
<%= f.radio_button :rating, 'positive', :onclick => "$('some_div').show();"
%>
Answer
Correct Answer: None of these
Explanation:
Note: This Question is unanswered, help us to find answer for this one