For instance  $('#datepicker').datepicker({onSelect: function(datestr,
inst) {"GetUrl(this.value)"><option value="http://google.com";>Get
Google</option></select>}});

where would this code go? Does it matter where in the ui.datepicker.js
file it goes?

On Dec 23, 2:13 pm, "Ca-Phun Ung" <cap...@yelotofu.com> wrote:
> You don't. onSelect is a callback. The documentation states:
>
> "onSelect is a callback function when a date is selected. The function
> receives the date text and date picker instance as parameters."
>
> So in your code you could do something like this:
>
> $('#datepicker').datepicker({onSelect: function(datestr, inst) {
>
>   // Your code goes here.
>
> }});
>
> On Tue, Dec 23, 2008 at 9:31 PM, sabastian <sabastiangron...@yahoo.com>wrote:
>
>
>
>
>
> > Ok, on line 109 in uidatepicker.js I have onSelect: null.
>
> > How can I change this?
>
> > On Dec 23, 1:20 pm, sabastian <sabastiangron...@yahoo.com> wrote:
> > > could you please write an example for me and show me where it needs to
> > > go and in which file.
>
> > > On Dec 23, 12:56 pm, "Ca-Phun Ung" <cap...@yelotofu.com> wrote:
>
> > > > Sorry, yes this should be possible with the onSelect option. See:
> >http://docs.jquery.com/UI/Datepicker/datepicker#options
>
> > > > On Tue, Dec 23, 2008 at 3:47 PM, sabastian <sabastiangron...@yahoo.com
> > >wrote:
>
> > > > > Please, can someone inform me if it is possible to have individual
> > > > > html links for each date in datepicker.
>
> > > > > On Dec 22, 7:42 pm, sabastian <sabastiangron...@yahoo.com> wrote:
> > > > > > For instance if someone chooses 5/5/09 in datepicker I would like
> > them
> > > > > > to be linked to one html page. In contrast, if someone chooses
> > 4/2/09
> > > > > > I would like them linked to another html page. Each day will have
> > it's
> > > > > > own individual html page. Is this possible in datepicker?
>
> > > > --
> > > > Ca-Phun Ung
> > > > +http://yelotofu.com
> > > > + css, django, hongkong, html, javascript, php
>
> --
> Ca-Phun Ung
> +http://yelotofu.com
> + css, django, hongkong, html, javascript, php

Reply via email to