Simple problem but I can’t find a solution.
I have this tag:
<%=text_field_tag(“query”, params[:query], :autocomplete => “off” ) %>
Its a search field box.
Question: how do I update the text in the text field??? i.e is there a
rails equivalent like query.setText(“some text”)