Hello,
I am sure this situation is quite common and nothing complicated to
solve, but I’d like to know the Rails way of doing it:
Screen 1)
I have a search form. After clicking ‘search’, the results are displayed
with AJAX.
Screen 2)
I have some records on the page, which are associated with the data from
Screen 1). Clicking on a record should redirect to Screen 1), fill the
search form based on the record from Screen 2 (so far so good) AND
display the AJAX results (without the user clicking the ‘Search’ button,
of course).
What’s the standard way of doing this?
Cheers,
Peter