Displaying 20 results from an estimated 29 matches for "datepicker".
2012 May 10
1
getting started with jQuery rails 3.2
...#39;ve done very little after creating a new app, I''ve learnt
that jQuery is included by default with the gem ''jquery-rails'', ''2.0.0''.
In my application.js (app/assets/javascripts) I''ve added the line //=
require jquery-ui
I now want to have a datepicker in one of my forms, looking at the
jQueryUI website (http://jqueryui.com/demos/datepicker/) I can see that
the class of the text-field has to be "hasDatepicker", and the id
"datepicker"
I''ve done this in my view like this
<%= f.text_field :game_start_time, :class...
2005 Sep 19
9
Rails compatible JS datepicker -- beta
hi all,
I''ve built a simple javascript datepicker for use with Rails. I''m sure
others exist, but think this one is quite decent without being
overengineered.
http://projects.exactlyoneturtle.com/date_picker/
At present there''s no Rails HTML generator method for it; later I will
package it in a script/generator, but for now i...
2011 Aug 29
1
jquery datepicker not working with nested forms rails 3
Hi people
I have a problem with the Jquery "Datepicker".
If I use datepicker in a simple-form, I have no problem... but I need
to use it in a nested form that add fields dynamically, and everytime
I add new fields I have a field that needs to use datepicker.
I''ve reading the web, and many people have the same problem, but
nobody get a s...
2011 May 04
0
using jquery datepicker within a jquery dialog
so I have datepicker working just fine in a normal window but I cannot
for the life of me get it to work within a dialog.
I have some javascript that opens a dialog in my application.js file
as well as the datepicker js
is as follows:
$(function() {
$("#version_release_date").datepicker({dateFormat: '...
2011 Dec 19
2
Jquery Modal Dialog with Jquery DatePicker field strange behavior
Hi people.
I need your help here, please.
I have a rails 3.0.9 app, and I''m using Ajax to save some records to
the database. To achieve this, I use a jquery modal form, but one of
the fields is a datepicker, and if I click on it to display the
calendar it doesn''t work.
The thing is, I press submit without fill all the fields, so, my
custom validations were shown, telling me that I must fill some
fields, and when I did that... surprise... the date picker worked just
fine... I don''t k...
2007 Sep 17
0
DatePicker in external file?
i ry to use this
http://www.eulerian.com/en/opensource/datepicker-prototype-scriptaculous
i included scriptacolous,prototype and datepicker.js in the main file
hen i load this data via ajax request
$o .= " <input value=\"".$rs->fdatum_faelligkeit."\"
ID=\"fdatum_faelligkeit\" name=\"fdatum_faelligkeit\" typ...
2012 Feb 01
0
Datepicker with jqGrid
Hi all,
I want to have datepicker in search text fields of jqgrid on a Ruby on
Rails application.
Is there any way ?
Has any one used such combination ? Datepicker with jqGrid ?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email t...
2014 Apr 05
0
Datepicker FlatUI rails
Hi guys,
How does one use a datepicker flatUI calendar in rails? I have been poking
around for documentation, but can't seem to find any. Is there any out
there?
Thx!
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiv...
2012 Apr 30
0
custom lib for datepicker
...the default
assign methods to made strptime.
I''ve made the following:
http://ideone.com/PXYl8
something is wrong when trying to access on I18n.t, the scope is valid,
if I put a debugger outside that misterious loop it prints what is
expected...
console output:
1.9.3p125 :001 > User.datepicker_attributes :created_at
=> [:created_at]
1.9.3p125 :002 > User.new.created_at = "10/10/2012 10:12"
=> "10/10/2012 10:12"
debugger outside the loop.
(rdb:1) p I18n.t(''time.datepicker_formats'').values.first
"%d/%m/%Y %H:%M"
(rdb:1) p Time.strp...
2006 Feb 27
30
Calendar widget
Has anyone made, or does anyone know of, a nice calendar control based
on prototype/scriptaculous out there yet? Thanks in advance!
Sincerely,
Ryan Gahl
Design Engineer
Camtronics Medical Systems (an Emageon Company)
Ryan.gahl-nlycWCgr5/vuufBYgWm87A@public.gmane.org
262-369-3251
The information transmitted in this electronic mail is intended only for the
person or entity to which it
2006 Apr 28
5
Newbie: using date-picker
Finally found a nice date chooser script
(http://projects.exactlyoneturtle.com/date_picker), but am a little
confused how to implement it.
So I put this where I need the date picker:
<a id="_name_link" href="#"
onclick="DatePicker.toggleDatePicker(''name'')"
class="demo_link">[ choose date ]</a>
<div id="_name_calendar" class="date_picker"
style="display:none"></div>
And the field that receives the value is:
<input id="name&q...
2011 May 21
0
Jquery UI with rails nested forms
I am very beginner to ruby on rails and web-development.
I created my app that similar to Ryan Bates, episode 197 and 198, but
with use JQuery UI datepicker. But I dont really know how to do that.
I know that the problem is with element ID always same whatever I
generated new dynamic partial. For example, when I choose a day, it
works fine. but when I add new nested model (or record), only the
first nested model change.
I use ruby 1.8.7 and rails 2.3....
2006 Apr 01
6
how to use datepicker
This is the webpage:
http://projects.exactlyoneturtle.com/date_picker/
I have downloaded and installed it. But how do I use in view page?
This is the usual view with ordinary datetime_select:
<p><label for="product_date_available">Date available</label><br/>
<%= datetime_select ''product'', ''date_available'' %></p>
2011 Jul 07
2
Rails 3.1 + jQuery + jQuery UI = data is null
...o, the code =>
<input id="tags">
gets rended to =>
<input id="tags" class="ui-autocomplete-input" autocomplete="off"
role="textbox" aria-autocomplete="list" aria-haspopup="true">
but nothing fires.
if i try the datepicker demo i get a =>
data is null in firebug console when page is loaded
and then a inst is undefined when clicking it ...
Anyone got any information about this ?!
I can see jQuery UI 1.8.12 in the rended application.js so i guess //=
require jquery-ui is working ?!
--
You received this message...
2008 Dec 20
5
Calendar icon for date selection functionality
Hello.
I would like to add date selection functionality using a calendar
icon. Is there a tutorial anywhere I could use?
Thanks in advance.
Pepe
--~--~---------~--~----~------------~-------~--~----~
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
2006 Jul 04
2
Display a calendar helper
Before I starting writing a helper to display a calendar I wondered if
anyone was aware of a calendar helper, basically something that is
displayed inline (not a pop-up window) that can replace a date_select.
The way I am thinking of doing it is to have a partial which is passed a
Time class, the month is extracted from the date and a grid displayed
for that month. Which should not be to
2006 Feb 10
14
dynarch calendar and calendar helper usage
I am playing around with this and reference this wiki from RonR site...
http://wiki.rubyonrails.org/rails/pages/CalendarHelper
The error I am getting is:
NameError in Placements#list
undefined local variable or method `date_format'' for
#<PlacementsController:0xb78f9ef4>
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace
2006 Feb 27
0
RE: FW: Calendar widget
...t;>regards,
>>
>>Martin
>>
>>On 2/27/06, Ryan Gahl <Ryan.Gahl-nlycWCgr5/vuufBYgWm87A@public.gmane.org> wrote:
>>
>>
>>>Michael Peters wrote:
>>>
>>>
>>>>like this?
>>>>http://script.spinelz.org/datepicker.html
>>>>
>>>>
>>>That''s a good start. I need something that allows for a drop-down
>>>selection of months and years also, as well as easy .css
>>>styling/skinning (not sure how far along yours is in this regard)...
>>>...
2006 Oct 31
9
Dare Picker
Is there a good date picker that can be used with prototype &
scriptaculous library. I am looking for something outside ruby on
rails.
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to
2006 Nov 29
5
wxSugar control problem
I''m using wx_sugar 0.1.2 with wxruby2-preview 0.0.37 on OSX and am
coming up with an error when trying to create a SpinCtrl (and quite a
few others have exactly the same prob.):
#file date_picker.rb
class DatePicker < Wx::Dialog
def initialize
super(nil, :title => "Pick a date...")
@cal = Wx::CalendarCtrl.new(self)
add(@cal)
#works fine up to this point, will make a lovely calendar in the
window if I comment the next 2 lines out...
@month = Wx::SpinCtrl.new(sel...