EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
November 04, 2025, 10:04:52 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
>
content of a datebox
Pages: [
1
]
« previous
next »
Print
Author
Topic: content of a datebox (Read 8806 times)
jaimi
Full Member
Posts: 121
content of a datebox
«
on:
November 17, 2014, 01:05:54 AM »
I created a datebox and used the following code to add a tooltip to it:
if ($("#HOM_GEBURTSDATUM").length) {
$('#HOM_GEBURTSDATUM').datebox();
var tb = $('#HOM_GEBURTSDATUM').datebox('textbox');
tb.add(tb.parent())
.css("background-color","#1a1a1a")
.css("color","#fff");
tb.parent().tooltip({
position: 'right',
content: '<span>Geben Sie das Geburtsdatum des Pferdes ein.</span>'
})
}
Now, when I delete the value at the field within the form and submit the form, it still posts the former value.
My analysis shows that the value still appers with the ID of the datebox whereas the textbox (parent) has neighter id nor name.
How to fetch the value of the testbox?
THX, Jaimi
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: content of a datebox
«
Reply #1 on:
November 17, 2014, 01:31:35 AM »
How do you delete the datebox value? Please show some code snippets to describe your issue in more detail.
Logged
jaimi
Full Member
Posts: 121
Re: content of a datebox
«
Reply #2 on:
November 18, 2014, 12:41:02 AM »
It works well, when the value is changed by using the select-box of the datebox. I delete the content via keyboard delete key. Then the field content is empty.
I do not delete via javascript code.
Jaimi
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...