similar to: RJS - not working in IE

Displaying 20 results from an estimated 2000 matches similar to: "RJS - not working in IE"

2006 Mar 22
1
RJS - Still not working in IE
The previous thread on this topic got a little disjointed, so I thought I''d summarize the issue again, in hopes that someone could help. To re-iterate, this rjs works in Firefox and Safari on Mac, and in Firefox on Windows. It fails, in IE on Windows. The failure is that the second page.replace_html seems to do nothing. My environment is: Rails 1.0 + RJS Plugin Updated
2006 Jul 02
6
remote form w/ evalScripts:true
Hello. I want to select an item from a select list and have that result in an ajax call that updates two sections on the page. Here is the code in the controller def create ... render :update do |page| page.replace_html ''list_items'', :partial => ''lists/list_items'' page.replace_html ''add_item'', :partial =>
2006 Mar 18
2
in_place_editor change request...
Hi, How do I make a request to the Rails team to include a line something like: js_options[''savingText''] = %(''#{options[:saving_text]}'') if options [:saving_text] in the in_place_editor method? script.aculo.us supports the ''savingText'' option to control the text displayed while saving after an in-line edit. Having the ability to
2006 Mar 22
12
RJS page.replace(_html) problems
For some time now I try to get my code working. This Monday I switched to RJS (first with 1.0 + plugin) and yesterday to Edge Rails, so I guess I''ve been using the most recent version. I have a div with id="detail" which I want to update with a partial. If I''m using page.replace_html the content will be replaced with text, i.e. the javascript won''t become
2006 Mar 29
5
Database passwords with numbers
I have database password in my database.yml as "passw0rd" however when I go to http://localhost:3000/rails/info/properties I get this error: private method `gsub'' called for 1:Fixnum But if I just use "password" for my password everything is ok. Any ideas? -- Posted via http://www.ruby-forum.com/.
2006 Mar 29
4
Ruby/OCI8 not working on Rails 1.1
http://rubyforge.org/tracker/?func=detail&atid=1051&aid=3960&group_id=256 I posted this bug yesterday. Seems to be confirmed, since someone else has the same problem on a different platform (Fedora 4 and Max OS X). So, if you are using Oracle, don''t be in a rush to upgrade to Rails 1.1 unless you have the time to figure this problem out for yourself. -- Lori Olson
2006 Apr 03
2
Problems with STI in has_many/belongs_to in Rails 1.1
I have a problem that surfaced in my attempt to upgrade my application to Rails 1.1. We have a STI model on the "belongs_to" side of a has_many/belongs_to relationship. All my unit tests for this model pass, and the relationships all seem to work fine. But in my functional tests, I''m getting errors. I''ve traced it back into the call to the has_many
2006 Jul 20
6
replace_html + javascript
Hi all, This is my first post to the list, so I hope it gets through and I don''t do anything wrong :) Here''s the issue I''m having... I have an rjs that''s doing: page.replace_html ''myid'', :partial => ''my_partial'' And in my my_partial I have: <script type="text/javascript">
2005 Dec 31
9
RJS Templates not conducting callbacks
I''ve run across a weird problem with RJS that I''m trying to figure out: I have an application that was running 0.13.1 that I recently upgraded to Rails 1.0. I wanted to use RJS templates, so I installed the plugin and updated my prototype javascript file via ''rake update_prototype.'' I attempted to test the templates out via the following code, but the AJAX
2008 Apr 07
5
trying to use Ajax.InPlaceEditor
Hi, I''m programming a Ruby on Rails project where I am on the edit page of /boxes/1/edit and I''m trying to make an InPlaceEditor for the color property. (E.g. red box, blue box, etc.) My problem is that after successfully saving the value in the database, the response I get from the server is javascript, and it''s being rendered in the place where the updated value is
2006 Apr 20
4
oci8 mac os x intel
Is rails + oci8 + mac os x intel a winning combination? It appears that oci8 might be a issue.
2006 Jun 24
6
Ajax fade effect
I have a list of categories, when I delete one of them, I want that item to fade and then get removed. So I do the following: 1. home_controller: def delete @category = Category.find_by_name(params[:name]) @element_id = @category.name Category.delete_all(["name = ?", @category.name]) end 2. delete.rjs: if @element_id page.visual_effect :fade, @element_id
2005 Dec 25
5
RJS not working?
I''ve been attempting to add a simple rjs ''delete'' method to my project. However, no matter what I try, it simply doesn''t work. Even the easy, easy stuff seems broken. (Yes, <%= javascript_include_tag :defaults %> is being included in the template.) For example, from: http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates VIEW: <h1
2006 Apr 04
2
Ajax Effects Tutorial
Hi there, I am in love with rails... And now I want to rule Ajax effects with rails. Where could I find a book like: Ajax on Rails? :) Tutorials will be welcome too. Thanks in advance. Fernando Lujan
2006 Mar 19
1
Finding RDoc templates
Hi all, I would like to change my RDoc template to something similar to the RDocs on this site: http://caboo.se/doc.html Does any one know where this template (or similar) or other RDoc templates are available? I tried googling for rdoc templates for a long time and came up with nadda. Thanks in advance.
2006 Mar 22
1
Lightning Fast Javascript Auto complete
<%= javascript_tag("new AutoCompleter.Local(''search_start_station'',''start_station_auto_complete'', stations);") %> I have <%= javascript_include_tag :defaults %> in the head of my layout. But I always get an Error: "AutoCompleter is not defined". Im using Rails 1.0, so I should have the latest javascript files. The tag
2006 Aug 02
2
Passing Ajax.InPlaceEditor options
I''ve followed the instructions in the Rails Recipe #1 and have the in_place_editor_field working but now I want to tweak how it looks and behaves. I''d like to be able to override the default yellow highlight color, which is done using the highlightcolor param according to the scriptaculous documentation (unless I''m missing something). I''m new to Ruby and Rails
2006 Apr 27
12
Execute controller function from RJS
Hi all, I wonder if it is somehow possible to execture or redirect to a controller function from RJS? Right now I do: def foo() render :partial => ''executeagain'' end _executeagain.rhtml <script> new Ajax.Updater(''elmntID'', ''/test/foo/'', {evalScripts:true}); </script> This will loop I know :) How can I achieve the same
2008 Jan 23
11
Rails 2.0.2 + RJS
Hi I had ajax commenting on my app, which worked perfectly on Rails v1.2.6, but does not work the same in Rails 2.02. Basically the comment gets added, but the visual effects do not work (ie lines 2 + 3 of create.rjs) create.js page.insert_html :bottom, ''comments'', :partial => ''comment'' page.visual_effect :appear, "comment_#{@comment.id}"
2006 Jul 26
3
Getting Ajax.Updater or page.replace_html to render js?
Hey guys, I, for the life of me, cannot figure out how to get Ajax.Updater or page.repalce_html to render the javascript in a partial. Upon page loading, the partial gets rendered fine. But when called up to render through an AJAX function something goes wrong. Are you guys getting this error??? -- Posted via http://www.ruby-forum.com/.