Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

Internet Explorer issue with HTML

$
0
0

I am working on a html form where text box is diabled and has forbidden cursor.  When I mouseover the option which is in from of textbox, then focus is lost and forbittend cursor appears. This problem occurs in IE 11. On other browsers it works fine. The code is below:

<!DOCTYPE html><html><head><style>
.lname {
cursor: not-allowed;
}</style></head><body><form action="demo_form.asp"> Select car: <select name="cars" autofocus>   <option value="volvo"><div>Volvo</div></option>   <option value="saab"><div>Saab</div></option>   <option value="fiat"><div>Fiat</div></option>   <option value="audi"><div>Audi</div></option>   <option value="volvo1"><div>Volvo</div></option>   <option value="saab1"><div>Saab</div></option>   <option value="fiat1"><div>Fiat</div></option>   <option value="audi1"><div>Audi</div></option>  </select>  <br />  Last name: <input type="text" name="lname" class="lname" disabled="disabled"><br>  <input type="submit" value="Submit"></form></body></html>



Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>