How to read a text box value and copy it to another one?

How to read a text box value and copy it to another one?

Hi,


I have a List View and above it, there is a filter... The filter is any text entered by the user...

How can I copy the value the user enters in that box and copy it to a another box?


The background is I;m using K2, we have a listview, above it is a Built-in feature to filter results, we want to capture what the use types in that filter and then use the value to trigger a report using that filter value.

At the moment, we can't do anything with that filter value, so hoping jquery can somehow copy it into a proper text box for us to use.

Possible?


Thanks