Reputation: 21
<select id='orginCountryID' onChange='FillSubDropdownlist(this.value)'>
<option>-- select country --</option>
<option>Malaysia</option>
<option>Philippines</option>
</select>
<select id='orginCityID'>
<option>-- select city/town --</option>
<option>Kuala Lumpur</option>
<option>Manila</option>
</select>
<a href="#" onclick="window.history.back();return false;" class="btngrey"><span>back</span></>
It is not working IE11, the city option is missing. When I select a county the city automatically loads. When I click the back button the country option shows up fine, but the city option is missing only in IE, other browsers are working fine.
Upvotes: 2
Views: 8469
Reputation: 171
Try
<a href="#" onclick="window.history.go(-1); return false;" class="btngrey"><span>back</span></a>
Or
<a href="#" onclick="history.go(-1); return false;" class="btngrey"><span>back</span></a>
Hope this works.And remember to close your tag properly
Upvotes: 3