I am a newer to easyui.
I like markup type to define widget like this:
<div id='tt' class="easyui-tabs" style="width:700px;height:250px" data-options="...">
<div title="APanel" ></div>
<div title="BPanel" ></div>
<div title="CPanel" ></div>
</div>
I know the basic way to handle events is write a javascript method in the data-options.
it seems not easy to wirte an javascript function in a html attribute with other options as a long string.
May i add an event handler and ohter options to the markuped widget by javascript in $(document).ready functions after parse?
just like this (some thing i imagine) :
$(document).ready(function() {
$('#tt').tabs.('options','fit',true);// set the options
$('#tt').tabs.('event','select',function(){
xxx
}); //set the event
});