EasyUI Forum
October 19, 2025, 04:42:17 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Create multiple link buttons using js scripts only  (Read 5530 times)
alastairwalker
Newbie
*
Posts: 14


View Profile Email
« 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

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!