javascript - jEasyUI, Toolbar in tab -


i add toolbar tab, cannot find regarding in documentation. understand tab panel. possible access , add toolbar?

my goal have toolbar in each tab example submit button submits form in tab.

i using following code add tabs:

 function addtab(title, url){     if ($('#main-tabs').tabs('exists', title)){         $('#main-tabs').tabs('select', title);     } else {         var content = '<iframe scrolling="auto" frameborder="0"  src="'+url+'" style="width:100%;height:100%;"></iframe>';         $('#main-tabs').tabs('add',{             title:title,             content:content,             closable:true         });     }     } 

thanks in advance!

michael

jeasyui has toolbar function within tabs. it's enough purpose i'll go now.

$('#tt').tabs({ tools:[{     iconcls:'icon-add',     handler:function(){         alert('add')     } },{     iconcls:'icon-save',     handler:function(){         alert('save')     } }] 

});


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -