How can store search-box value in cookie/localstorage ?

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Active Member

How can store search-box value in cookie/localstorage ?

Hiii Everybody!

I want to save the typed value in the search-box in a cookie or localstorage of my browser . I tried to custom the .../header/header.js file but i can't get any result.

Have you any idea about this issue please .

Thks for your response