I have two input fields and one dropdown in a form. When I put data to these three, I click the search button. After that I come to another page. But after the redirect to the previous page how to keep previous selected value in dropdown and two input fields.
<input type="text" id=first>
<input type="text" id=second>
<select id=oid>
<option></option>
</select>
<div class="col-md-4">
<button type="button" onclick="location.href = '<?php echo base_url(); ?>/index.php/Orders/'" class="btn btn-primary btn-md">Back </button>
</div>
any help thanks in advance