EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
October 10, 2024, 10:09:49 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
>
General Discussion
>
easyui-<...>box 'prompt' option value as easyui-<...>box label hint
Pages: [
1
]
« previous
next »
Print
Author
Topic: easyui-<...>box 'prompt' option value as easyui-<...>box label hint (Read 5245 times)
Coder
Jr. Member
Posts: 96
easyui-<...>box 'prompt' option value as easyui-<...>box label hint
«
on:
August 26, 2018, 11:23:17 AM »
how to get label object for assign tooltip with content from prompt value?
or may be add labelHint option to easyui-<...>box options?
«
Last Edit: August 26, 2018, 11:25:54 AM by Coder
»
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: easyui-<...>box 'prompt' option value as easyui-<...>box label hint
«
Reply #1 on:
August 26, 2018, 06:14:29 PM »
You can call 'label' method to get the label object.
Code:
var label = $('#tb').textbox('label');
console.log(label)
Call the code below to build a tooltip on the textbox.
Code:
$('#tb').textbox('textbox').tooltip({
content: 'tooltip content'
})
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...