EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: alastairwalker on November 30, 2015, 02:56:25 AM



Title: Create multiple link buttons using js scripts only
Post by: alastairwalker on November 30, 2015, 02:56:25 AM
I am trying to create a row of link buttons using javascript only.

What I have tried is:

jQuery('#toolbar').linkbutton({width: 40,height: 25, iconCls: 'icon-add'});
jQuery('#toolbar').linkbutton({width: 40,height: 25, iconCls: 'icon-remove'});

But the last script (i.e. icon-remove) always overlays (or overwrites) the previous script execution.

How do I lay out a series of link buttons - one after the other? (i.e. side by side).

I have looked at the demos, but they do not have js examples.

Any help on this matter will be really appreciated!

Alastair