similar to: Jquery Modal Dialog with Jquery DatePicker field strange behavior

Displaying 20 results from an estimated 4000 matches similar to: "Jquery Modal Dialog with Jquery DatePicker field strange behavior"

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 solution for this issue Could you help
2012 May 10
1
getting started with jQuery rails 3.2
Hi all, I''m trying to work out how to get started using some jQuery in my rails app. rails -v = 3.2.2 ruby -v = 1.9.3-p194 I''m only sporadically a web-developer, and still quite inexperienced with jQuery especially, so I may be making an obvious mistake. Essentially, I''ve done very little after creating a new app, I''ve learnt that jQuery is included by
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: ''yy-mm-dd''}); }); $(document).ready(function() {
2011 Jul 07
2
Rails 3.1 + jQuery + jQuery UI = data is null
Trying to get jQuery UI to work with my rails 3.1 setup, but i keep getting errors that i cant see posted anywhere, this is driving my insane so please have a look => [application.js] // This is a manifest file that''ll be compiled into including all the files listed below. // Add new JavaScript/Coffee code in separate files in this directory and they''ll automatically // be
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 it is quite easy to use with Rails and
2010 Jun 02
1
Ajax with JQuery
I have used Ajax link and live validation in index.rhtml Ajax link requires JavaScript "prototype" and live validation requires "jquery". i got "element.dispatchEvent is not a function" on the firebug console when i used "prototype" and "jquery" in same page index.rhtml after i removed javascript "prototype" library, i got "Ajax is
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
2012 Jun 21
1
Modal popup in rails
Hi all, I am new in rails so i want to open modal box jquery but not getting any help. Please send me code or links if any one have.... Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/0Td3_nuuNW4J. To post to this
2006 Jul 26
8
change text_field_tag class
in my booking / _form I have the following input fields : (startdate and endate) <div> <label for="startdate">Booking Start Date</label><br /> <%= text_field_tag(''startdate'', @startdate, {:class => @startdateclass, :readonly => "readonly", :maxlength => "25"} ) %> <%= observe_field("startdate",
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
2012 Jan 01
2
Calling a function inside of (function($) {})(jQuery);
I have a .js file with the following function function set_priceKind_global(priceKind) { switch(priceKind) { case "paid": case "free": break; default: var throw_msg = "Internal confusion in set_priceKind_global" alert(throw_msg) throw throw_msg } It is triggered by %input{''type'' => ''button'',
2011 Jul 28
1
Help install jquery ui
I tryed rails generate jquery:install --ui but my draggable method still does nothing. Can anyone help me ? What is the proper way to install jquery ui (specially for dragging elements)? Thank you, Rodrigo -- 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
2013 Sep 19
0
CRUD model in a bootstrap modal with jquery, ajax - best practice
Hi, i have an model, which i want to show edit and update in a dialog via ajax. What i do at the moment: To open the Modal and render the partial, i send an ajax request to controller#show with ujs this is the link: <a class="person-dialog" data-remote="true" data-type="script" href="/en/people/32" onclick="return false">Fidel
2009 Sep 24
2
Running code after a modal dialog is shown
Hi all, I''m looking for a way to get a block of code to execute once a modal dialog has been displayed (via a call to show_modal.) I was hoping to find some event that would fire when the window was shown, but the only one that seemed vaguely promising (evt_window_create) seems to do nothing at all, at least in my environment (Ruby 1.9.1 on Win32, wxruby 2.0.1.) Here''s a
2011 Sep 06
8
Ajax and rails 3 UJS (jquery)
Hi, guys, I''m in the midst of moving an app from rails 2.3.8 to rails 3.0.9. Sadly, rails 3 no longer has javascript generators and I''m now forced to do more javascript. For my project, I have selected jQuery as the javascript framework for my rails 3.0.9 app. What I have done to have my app''s deletion link (for each item) trigger an alert box when the deletion
2011 Sep 10
4
Finding HTML attributes with jQuery in Rails 3.1
I''m having trouble wrapping my head around the proper syntax to have jQuery (in an .js file) grab an HTML attribute and use the value of that attribute to load a partial. HTML fragment: <a href="/toggle" data-remote="true" section="training"> jQuery string (now setting a static partial, I need this to be dynamic)
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>
2008 Jan 19
5
Open a (redbox) modal popup from inside a controller?
Hi, I''m trying to open a modal popup window using redbox to display a styled notification/alert to the user. The helpers in the redbox documentation only describe how to open a redbox when the user clicks on a link, e.g., link_to_redbox() or link_to_remote_redbox(). Is there any way to open a redbox, or a different type rails- compatible modal popup, from inside a controller action?
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\" type=\"text\"
2010 Jun 16
4
firebug jQuery undefined message in rails app
In rails app, I add the following line of code in application.js and I get jQuery is not defined in firebug console. In application.html.erb, I have the following: <script type="text/javascript" src="../javascripts/application.js"></script> <script type="text/javascript" src="../javascripts/jquery-1.4.2.js"></script> and I installed