I am sorry for my incompetence. I am new to javascript. All I want to do is when a date is chosen in datepicker a person will be automatically linked to a webpage, I used google as an example.
On Dec 23, 2:35 pm, "Ca-Phun Ung" <cap...@yelotofu.com> wrote: > > For instance $('#datepicker').datepicker({onSelect: function(datestr, > > inst) {"GetUrl(this.value)"><option value="http://google.com">Get > > Google</option></select>}}); > > This won't work. I'm not entirely sure what you're doing here. Could you > post up a demo page? > > > > > where would this code go? Does it matter where in the ui.datepicker.js > > file it goes? > > I recommend placing custom code in a separate file, not inside > ui.datepicker.js. > > -- > Ca-Phun Ung > +http://yelotofu.com > + css, django, hongkong, html, javascript, php