I have been trying to get one of the calender javascripts to work with
the <%= form.text_field. So when the user pick the date it updates the
time fields? (like in normal reservation system where you pick up the
date and time from the calender and when user pick the selection it
updates the field) but I could not get this to work.
Does anyone have got something similar to work? or could someone help me
with this.
I have been trying to get one of the calender javascripts to work with
the <%= form.text_field. So when the user pick the date it updates the
time fields? (like in normal reservation system where you pick up the
date and time from the calender and when user pick the selection it
updates the field) but I could not get this to work.
Does anyone have got something similar to work? or could someone help me
with this.
<!-- main calendar program -->
<script type="text/javascript" src="/calendar/calendar.js"></script>
<!-- language for the calendar -->
<script type="text/javascript" src="/calendar/lang/calendar-en.js
">
<!-- the following script defines the Calendar.setup helper
function,
which makes
adding a calendar a matter of 1 or 2 lines of code. →
Thanks…and I am trying to include the fallowing in one of my already
exsiting application and its kind of confusing how I could do this…is
it possible for u to redirect or give me step be step instructions…I
am new to ruby…
Thank you so much…Is it possible for you to share the link to your
website or how I can use this calender script? So I can take look at the
code…and get it to work at my end?
<!-- main calendar program -->
<script type="text/javascript" src="/calendar/calendar.js"></script>
<!-- language for the calendar -->
<script type="text/javascript" src="/calendar/lang/calendar-en.js
">
<!-- the following script defines the Calendar.setup helper
function,
which makes
adding a calendar a matter of 1 or 2 lines of code. →
Thanks…and I am trying to include the fallowing in one of my already
exsiting application and its kind of confusing how I could do this…is
it possible for u to redirect or give me step be step instructions…I
am new to ruby…
Thanks
a big hammer to kill a fly… I tried too but I found a much simpler,
neat and useful solution at :
1- js and media folders to be moved into your public folder
2- insert 2 lines in your layout
<%= stylesheet_link_tag “scaffold”, “fd_datepicker”, :media =>
“all” %>
You know, while I’ve downloaded it for future use in an application, I
haven’t actually tried it, so I don’t know exactly how it works or what
steps you would need to take to make it work for you. (I’m pretty new to
Ruby myself.)
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.