EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 05, 2024, 07:28:24 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
combobox clear on click
Pages: [
1
]
« previous
next »
Print
Author
Topic: combobox clear on click (Read 8647 times)
lloyd
Newbie
Posts: 29
combobox clear on click
«
on:
December 08, 2015, 10:08:03 AM »
Hi,
How can I clear the combobox when it is selected (click/tab)?
IE. The current selected text is cleared before a new selection is made.
Thanks,
Lloyd
Logged
jarry
Administrator
Hero Member
Posts: 2262
Re: combobox clear on click
«
Reply #1 on:
December 08, 2015, 03:11:39 PM »
Please describe your question in more detail.
Logged
lloyd
Newbie
Posts: 29
Re: combobox clear on click
«
Reply #2 on:
December 09, 2015, 01:03:18 AM »
I have a editable combobox, that has a default text value "---Select---".
What I need is, when the combobox is selected (by mouse click or keyboard tab) the default text value is cleared before I entered text or select from the drop down.
Logged
lloyd
Newbie
Posts: 29
Re: combobox clear on click
«
Reply #3 on:
December 09, 2015, 04:07:23 AM »
I have found a solution
http://jsfiddle.net/zspwbohy/
I just need to modify it the clear the text.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...