Skip to main content

Posts

Showing posts from June, 2013

IE 9 and IE 10 Issue for Dropdown list with many items...Sharepoint 2010

Issue $(document).ready(function () {             // Country column             var _countyName = "Country";             //State Column             var _stateName = "State";             // Override the Country             OverrideDropDownList(_countyName);             //Set first value of the country as default.             updateOriginalField(_countyName, "tempDDLName_" + _countyName);             //Override for State             OverrideDropDownList(_stateName);             // Main Function             function OverrideDropDownList(columnName) {                 // Construct a drop down list object                 var lookupDDL = new DropDownList(columnName);                 // Do this only in complex mode...                 if (lookupDDL.Type == "C") {                     // Hide the text box and drop down arrow                     lookupDDL.Obj.css('display', 'none');                     lookup