Posts tagged ‘javascript’
Ruby to Javascript Dates
Recently I was using the JQuery UI datepicker widget and needed to restrict dates to a range in the popup calendar selector. In order to do so I had to pass the Ruby Date to javascript. My goal is usually to write as little javascript/jquery code as possible, i.e. to do all the necessary conversions [...]