On 30 March 2010 13:07, Hemant Bhargava <[email protected]> wrote:
> 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.

Glad to be of help

>
> 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, %>

You can do anything you like in javascript that you can do on any web
page.  What do you mean by "create a text-box with calendar".

Colin

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

Reply via email to