memoria-js
Version:
Extensible form storage for memorising user inputs with localStorage.
27 lines (26 loc) • 1.22 kB
HTML
<form name="standard-test-form">
<input type="text" name="text" class="text" />
<select name="select" class="select">
<option>First Option</option>
<option>Second Option</option>
<option>Third Option</option>
</select>
<section>
<input type="radio" name="radio" class="firstRadio" data-memoria-name="firstRadio" />
<input type="radio" name="radio" class="secondRadio" data-memoria-name="secondRadio" />
</section>
<input type="checkbox" name="checkbox" class="checkbox" />
<textarea name="textarea" class="textarea"></textarea>
</form>
<form name="html5-test-form">
<input type="number" name="number" class="number" />
<input type="search" name="search" class="search" />
<input type="date" name="date" class="date" />
<input type="month" name="month" class="month" />
<input type="time" name="time" class="time" />
<input type="week" name="week" class="week" />
<input type="datetime" name="datetime" class="datetime" />
<input type="datetime-local" name="datetime-local" class="datetime-local" />
<input type="color" name="color" class="color" />
<input type="range" name="range" class="range" />
</form>