How can I save html source code into HTML 5 local storage using an array or object.
for example i want to store the following input tags into local storage as an array(here its 3 input tags in 3 array elements) or in object
<input type="text" class="in1" value="img1">
<input type="text" class="in2" value="img2">
<input type="text" class="in3" value="img3">
How can I solve this?