一段js代码,为什么每次点击后按钮都会多一个图标

 为什么每次点击后按钮都会多一个图标
<body id="main" class="easyui-layout">
<div id="north" data-options="region:'north'" style="height: 100px;">
<span>标题</span>
</div>
<div id="south" data-options="region:'south'" style="height: 50px;">
<span>版权所有&copy;AssassIn</span>
</div>
<div data-options="region:'west'" style="width: 200px;">
<div id="west" class="easyui-panel" data-options="title:'West',border:false">
<a href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true" onclick="loadhtml('checkin.html')">入住办理</a><br />
<a href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true">预定管理</a><br />
            <a href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true, iconCls:'icon-myexit'" onclick="loadhtml('checkout.html')">退房办理</a><br />
            <a href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true," onclick="loadhtml('historyOrder.html')">历史订单</a><br />
            </div>
</div>
<div id="center" data-options="region:'center'">
<div id="content" class="easyui-panel" data-options="title:'Center',border:false,fit:true">
<h2>职工界面</h2>
</div>
</div>
</body>
</html>
<script>
function loadhtml(url){
$("#content").load(url);
}
</script>

就你这个代码没看出什么问题,只可能是url返回的内容包含了js代码,这些js代码是会解析执行的

点击事件代码发来看一下

你看一下你添加图标的代码,是不是每次点击,都执行了一次添加图标。最好把代码贴出来,大家才能帮你寻找问题。