Opened 14 years ago

Closed 14 years ago

Last modified 10 years ago

#4202 closed enhancement (worksforme)

datepicker does not allow pre-existing element to be used as a button

Reported by: NVRAM Owned by:
Priority: critical Milestone:
Component: ui.datepicker Version: 1.6rc6
Keywords: Cc:
Blocked by: Blocking:


I'm working in a scenario in which I need to have the button element defined in the original HTML and not have it create it via JavaScript.

I altered the source, adding a parameter buttonElement to specify the element to be used. My change was about 8 lines different but didn't handle passing by ID (just the DOM element).

In my case it would preclude me from using the component and require finding an alternative solution; hence the almost-oxymoron 'critical enhancement'.

Change History (3)

comment:1 Changed 14 years ago by kbwood

You can open have your button open the datepicker attached to an input with the following:


comment:2 Changed 14 years ago by Jörn Zaefferer

Resolution: worksforme
Status: newclosed

See comment by kbwood.

comment:3 Changed 10 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.