0

I am working on an application build on Dojo 1.4 and currently used on IE8. When tried to run IE10 Compatibility view, I observer some X (to clear the data) are being show in the fields like dijit.form.Select. While in IE8 it doesn't display them

Please guide to remove them or what basically is happening

Thanks in Advance

user2927223
  • 41
  • 1
  • 7
  • possible duplicate of [Remove IE10's "clear field" X button on certain inputs?](http://stackoverflow.com/questions/14007655/remove-ie10s-clear-field-x-button-on-certain-inputs) – Ken Franqueiro Aug 22 '14 at 01:44
  • FYI, it sounds like removing the X while in Compatibility View is impossible: https://connect.microsoft.com/IE/feedback/details/783743/disable-ie10-clear-field-button-when-rendering-in-compatibility-mode - yet another reason to never use Compatibility View. – Ken Franqueiro Aug 22 '14 at 01:46

1 Answers1

0

If this is the same problem I just fixed then the question isn't referring to the IE10 "clear field" X. It's referring to a very large text "X" character that is displayed in the Select widget in addition to the options that are supposed to be there, making the widget twice as tall as it should be.

In my case it was because I was mixing the CSS stylesheet from one Dojo version with the API's from another. Check to make sure that your stylesheet and dojo.js versions match. For example, in my case the stylesheet was:

        ...href="//ajax.googleapis.com/ajax/libs/dojo/1.7.5/dijit/themes/claro/claro.css" media="screen">

while the script being included was

        ... src="//ajax.googleapis.com/ajax/libs/dojo/1.10.1/dojo/dojo.js"></script>

I blame the fact that I was modifying Dijit sample code without knowing what the heck I was doing...

swmech
  • 1
  • 1