HTML Form - How do I ensure a word I have searched for remains in the search box? -
in form (eg. search box), 1 @ top right of page, when write word , press enter, can see search results on page, word have searched remains in box too. can tell me attribute is? can't find one. aware "placeholder" word 'search' in box before search carried out, how ensure searched word stays in box after word searched , not disappear? thank you!
https://stackoverflow.com/search?q=sea
where q
request parameter. can access server side scripting.
suppose php it's: $_get
echo $_get['q'];//sea
you can't simple html
. if aren't using serverside scripting can javascript:
Comments
Post a Comment