Home  >  Article  >  Web Front-end  >  Memory function of HTML input_html/css_WEB-ITnose

Memory function of HTML input_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:08:261850browse

The page is .cshtml. After the page is refreshed, how can I keep the last value entered in the input box unchanged?


Reply to discussion (solution)

If you need to save data after refreshing the page, you may need to save the data in a cookie and then read it

I have never done the refresh you mentioned. The retained query conditions used in my project are the query conditions sent to the background, and the background sends the query conditions back. I don’t know how to refresh

Basically useless Refresh

The user refreshes the page just to clear the typed content on the page. Why should his value be retained?

HTML implements this.... Dynamic web pages can be easily implemented

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn