autosave attribute (input:search)
Specifies the name of a category in the search history.
All searches in the input:search field are saved into the search history, under the category specified by the autosave attribute. If the autosave attribute of two different search tags contain identical values, the searches belonging to these fields are saved under the same category of the history.
Use unique category names (for example, the domain where the site is) to avoid the mixing of categories. If the autosave attribute is not defined, then the history dropdown list is invisible, and the searches are not saved in the history.
String that sets the name of the category.
Default: this attribute has no default value.
Example HTML code 1:
This example illustrates the use of the archive attribute:
Did you find this example helpful?
Supported by tags:
User Contributed Comments