ruby on rails - how to call javascript function in select_tag -
<%= select_tag :per_page, options_for_select([10,20,30], @per_page.to_i), :onchange => "get_per_page_url(#{self.value})"
this code calling javascript function in select_tag.but problem get_per_page_url function calling here??
Comments
Post a Comment