Clone text from p to an input value without update : I can not find the way to clone the displayed inside a p into an input value.
the text inside a p looks like ".30, .31, .6, .38" and it is updated without recharging, so i need is clone in each update.
any idea?
thx!!!

Copy this:

    <p id="filter-display">.30, .31, .6, .38</p>  

into this:

    <input type="hidden" name="tags" value=".30, .31, .6, .38"> 


