I am trying to work through how to use the settings in this it is from http://jqueryui.com/demos/datepicker/ > Methods > Dialog Javascript is not my best area any help appreciated ----------------------------------------- dialog .datepicker( 'dialog' , dateText , [onSelect] , [settings] , [pos] ) Open a datepicker in a "dialog" box.
dateText: the initial date for the date picker. onSelect: A callback function when a date is selected. The function receives the date text and date picker instance as parameters. settings: The new settings for the date picker. pos: The position of the top/left of the dialog as [x, y] or a MouseEvent that contains the coordinates. If not specified the dialog is centered on the screen. ------------------------------------------ thank you On Aug 15, 5:59 pm, fib <[email protected]> wrote: > Let me extend some further info as explanation > I am using modal forms and need to submit a date with the form > > any of the options given as examples have the calender pop under the > modal form > > if I could have a static calender that gave a selected date into a > form element I could submit it and get it to work > but > the example on the site uses a div as markup to be static rather than > an <input type="text" > > so I either need to use the div and find a way to submit the info into > the post or a way to show it as static from an input field > > help needed > > thank you in advance for your time > > On Aug 15, 5:09 am, fib <[email protected]> wrote: > > > > > Hi all > > > I need to have an in-line datepicker (showing automatically without > > action from user) > > then I need to submit data from the form including a formatted date > > > the inline calender is exampled as a div > > and I need it as an input for the submission > > is there a way around this > > > or how can I achieve this > > > thank you for your time --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
