easyui使用总结

1.easyui-combobox的取值问题

   例子:<select id="cc" class="easyui-combobox" name="cc" style="width:200px;">在对其取值的时候

     不能使用$('#cc').val()

    正确:$('#cc').combobox('getValue')

2、Tree组件只能返回节点的属性的值

var node = $('#tt').tree('getSelected'); if (node){ alert(node.id); alert(node.attributes) }

你可能感兴趣的:(tree,Class)