I need to add a Javascript(maybe AJAX) functionality to a basic report page done in Ruby on Rails. The report lists columns of data. There is a search function at the top allowing entry of a value for each column.
I would like to allow the viewer to click on a value in a column and the value will then show up in the search field for that column. The value just needs to get populated in the search field. It will not go to the server until the search button is clicked.
The report columns are not part of a form - just regular rhtml display.