EasyUI Forum
April 18, 2024, 07:57:09 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: [SOLVED] textbox with menu like searchbox  (Read 5187 times)
Coder
Jr. Member
**
Posts: 93


View Profile
« on: February 16, 2018, 06:45:46 PM »

Can I replace in textbox the button (or change buttonType?) to menu like searchbox?
 ( how add menu to textbox)
OR
 how delete search icon in searchbox ? Smiley
« Last Edit: February 18, 2018, 03:28:03 AM by Coder » Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #1 on: February 17, 2018, 05:11:33 AM »

Call this code to hide the icon on the searchbox.
Code:
var icon = $('#sb').searchbox('getIcon',0);
icon.hide();
Logged
Coder
Jr. Member
**
Posts: 93


View Profile
« Reply #2 on: February 18, 2018, 03:27:33 AM »

and

Code:
$( icon[0] ).removeClass('searchbox-button').addClass('icon-MyButton')

solve my problem!

THANX!
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!