Dear…
I am working with the CUSTOM WIDGET from the DATE PICKER – JQUERY PLUGIN ([URL=”http://www.eyecon.ro/datepicker/#about”]http://www.eyecon.ro/datepicker/#about
I have got everything working fine. The value from the user is now inserted in a <span> element. That’s nice, but how do I post that value so I can use it in (like the other form elements) in my form. I rather get it in a textbox. But how do I do that?
Below you can see the peace of code that works out the value into a span element. How do I change this so it will be a form (TXT) element.
As you noticed I am a Javascript/jQuery beginner.
Thanks for your reply
Jelte
The Netherlands
[CODE]
$(‘#widgetCalendar’).DatePicker({
flat: true,
format: ‘d B, Y’,
date: [new Date(now3), new Date(now4)],
calendars: 3,
mode: ‘range’,
starts: 1,
onChange: function(formated) {
$(‘#widgetField span’).get(0).innerHTML = formated.join(‘ ÷ ‘);
}
});