Ruby on Rails
Friday, October 13, 2017
Ok, I figured it out.
On Friday, October 13, 2017 at 8:04:43 PM UTC-4, Joe Guerra wrote:
-- https://stackoverflow.com/questions/33601480/determine-which-submit-button-clicked-when-they-have-same-name
On Friday, October 13, 2017 at 8:04:43 PM UTC-4, Joe Guerra wrote:
Hi, how would I detect if the search form button has been submitted? I have the search results returned in the index ok, but I like to conditionally show the number of records only when the button has been pressed.Thanks,Joe
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9adda35d-53dc-4b5c-b5c3-4d3de0f12b80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment