Specific operation implementation method:
Html code:
< ;a id="a4" style="color:#0094ff" icon="icon-lightning">Set column widths in batches
js:
//Initialization
var ddlMenu = $('#a4').menubutton({ menu: '#cusmenu' });
//menubutton depends on menu , linkbutton these two plug-ins, so we can get her like this
$(ddlMenu.menubutton('options').menu).menu({
onClick: function (item) {
//item For related attributes, see menu
alert(item.text);
}
})
in the API. That's it for today