Colin Law wrote: > Do you mean that within some javascript can you use Ruby? If you mean > that then this would be difficult. The ruby code is run in the server > which is where ruby is installed. Javascript is run in the users PC > in the browser.
Hi Colin, only u come when i asks anybody for help .. :) Thanks. Anyway my situation is that i have a gem installed on my machine "calender_date_select" and i am dynamically populating the fields using javascript.. Now i also need to create a text-box with calendar with javascript.. Ordinarily, this is the way we use calendar_date_select:- <%= calendar_date_select :abc, :def, :year_range => 1.years.ago..1.years.since, %> Can we write it in javascript.. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en.

