After load the url in webview, it calls a javascript function at onPagefinished() method. it will open another webpage. In that webpage, there are three select elements like, select id="select1", select id="select2", select id="select3"
<select id="select1" tabindex="1"><option>...</option><option>...</option></select>
<select id="select2"><option>...</option><option>...</option></select>
<select id="select3"><option>...</option><option>...</option></select>
the values of the rest two select elements depend on the value of one and two select elements accordingly (onChange()).
Now what I want to do that when a user chooses the items of these three select elements for the first time, it will be saved in shared preference. After than when the user opens it the second time the saved value will be set automatically on that select elements.