To change themes when using easyloader, please set the 'css' property to false and then add a theme to the page.
<link rel="stylesheet" type="text/css" href=".../easyui.css">
<script type="text/javascript">
easyloader.css = false;
function changeTheme(v){
$('link:first').attr('href',v);
setTimeout(function(){
//...;
},0);
}
</script>
Usage example:
<select onchange="changeTheme(this.value)">
<option value="https://www.jeasyui.com/easyui/themes/default/easyui.css">Default</option>
<option value="https://www.jeasyui.com/easyui/themes/gray/easyui.css">Gray</option>
<option value="https://www.jeasyui.com/easyui/themes/metro/easyui.css">Metro</option>
<option value="https://www.jeasyui.com/easyui/themes/black/easyui.css">Black</option>
<option value="https://www.jeasyui.com/easyui/themes/material/easyui.css">Material</option>
<option value="https://www.jeasyui.com/easyui/themes/material-teal/easyui.css">Material Teal</option>
...
</select>