User-1355965324 posted
Hi
I am using Javascript Combotree pluggin. At the moment combo tree is transparent to the the screen color . So the users cannot see the the its content. Screen background color is blue and the combo tree is transparent to the screen.
So I am trying to change its transparent into white.
I wonder it is working in chrome browser perfect, but not working IE. So please can you help how to change its background color into white. Any help with code would be very appreciated. My code given below
<div class="form-group">
<label class="control-label control-label-left col-sm-3" for="field2">User Depots & Departments</label>
<div class="controls col-sm-9">
<input type="text" id="ddlDepotMapping" placeholder="Select" />
<input type="hidden" id="hfDepotMapping" asp-for="SelectedDepotMapping" />
</div>
</div>
I am calling the function in script
<script>
FillDepartmentsMappings(@ViewBag.DepotDepartmentMapping);
</script>
function FillDepartmentsMappings(defaultSelected) {
$.ajax({
type: "GET",
url: "/User/GetDepotDepartemntsForMap",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (data) {
$('#ddlDepotMapping').comboTree({
source: data,
isMultiple: true,
cascadeSelect: true,
collapse: true,
selected: defaultSelected
});
},
failure: function (response) {
console.log(response.responseText);
},
error: function (response) {
console.log(response.responseText);
}
});