Classes
Methods
renderEditor(prefix, date, fmt)
Renders a timestamp as set of DropDown boxes, following the
format passed as argument. Every <select>
item is prefixed with a string so that it can be retrieved
easily from the values of a submitted POST request.
Parameters:
Name | Type | Description |
---|---|---|
prefix |
String | The prefix to use for all dropdown boxes, eg. "postdate" |
date |
Date | A Date object to use as preselection (optional) |
fmt |
Object | Array containing one parameter object for every single
select box that should be rendered, with the following properties set:
|
- Source:
renderEditorAsString()
Returns a timestamp as set of dropdown-boxes
- Source:
- See: