I'm working on a module for CMSMS 1.11 environment.
In ..lib/jquery/js/jquery-ui-1.8.21.custom.min.js there is datepicker included. In the back end this file is available via the header tag of the rendered HTML.
One of the input fields in the backend is defined in the templates as follows:
Code: Select all
<div class='pageoverflow'>
<p class='pagetext'>{$title_start_date}:</p>
<div class="pageinput datepicker">{$input_start_date}</div>
</div>
I've tried making datepicker an id in stead of a class. Didn't work.
I've used span around the input field, no result.
I've used replace on the class of the input field (thus removing cms_textfield and changing it into datepicker as part of the class of the input tag). No results.
How to make use of the globally available jquery part in the back end?
Duketown