Your browser (Internet Explorer 6) is out of date. It has known security flaws and may not display all features of this and other websites. Learn how to update your browser.
X

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 [...]