similar to: to ajax or not to ajax

Displaying 20 results from an estimated 3000 matches similar to: "to ajax or not to ajax"

2006 May 16
7
RJS head scratcher
I''ve been joyfully using RJS in a lot of our work lately, with no issues whatsoever. However, I am porting an application to RJS templates that we''ve had for a while, and having some issues. When I use Firebug to see what is going on, the response comes back like this: try { new Effect.Highlight("gi_error_row",{duration:20}); } catch (e) { alert(''RJS
2006 May 06
1
Ajax commenting - PLEASE HELP!!!!
I''m trying to post comments using Ajax. It seems that I have an infinite loop somewhere, because it hangs on the return from the Ajax call. The comment does get saved to the DB, but I have to refresh the page for it to show. The reason I know it''s some sort of infinite loop, is because I''m showing a "loading.gif" image, and it never goes away. Plus, if
2006 Jun 23
3
Ajax errors in safari
I am implementing some AJAX features into a web forum, and one feature works fine in Firefox and in IE, but it is choking in Safari. Safari will send the request fine and the data will be stored in the DB, but it is not responding correctly to the RJS that is being sent back. Anybody notice issues with Safari parsing the javascript sent back to the browser? -- Timothy Johnson
2006 Jun 02
5
Firefox extension for ajax debugging
or similar... Is there any extension for firefox so that I can view the source code of ajax returned content? Thanks everybody.
2006 Jul 26
4
How to Firebug XHR/AJAX requests
Saw a lot of recommendations for Firebug (http://www.joehewitt.com/software/firebug/) on this list. I''ve scanned its docs and tried it--many useful features. But I''m so dense that I can''t get it to spy XHR/AJAX requests and their response on FC5 running Firefox 1.5.0.4 and Firebug 0.4. Can someone tell me how to get to
2006 Jun 23
4
Creating a scrolling effect with slider
I''m currently working on a method to implement a scroller for a div using a slider. I need to do this as an alternative to making a stylish flash scroller with content. The main advantage of this method is to allow the ability to style the sliding elements cross browser (and maybe as a future add on... the ability to have a scroll.to for a scrolling div). This is my first attempt at
2008 Feb 10
3
Ajax.Request evalJSON document.write hangs
I''m not the best when it comes to javascript so this is probably a simple mistake. I''m using the following code to read an external json file and print out its values. The problem is when I try to write the value to the browser it causes the browser to load like it hasn''t finished the javascript code. Its writing the value to the screen so I think its hanging after that
2006 Apr 03
11
View source after AJAX update?
Does anyone know how to view the new source in IE after an AJAX update? When I "view -> source" I get the original page source, not the page source as updated. Thanks in advance, Bill -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060403/e8d96b2e/attachment.html
2010 Feb 10
4
AJAX responses
Does anyone know if it''s possible to do multiple AJAX responses to a single request in Rails? I did some googling but didn''t find anything extremely helpful. Thanks. -- 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
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
2008 Jan 31
7
Ajax.InPlaceEditor via PHP via prototype widows class = HELP :-)
my window comes up fine and builds a page from some PHP which is all kosher. this is what the source of the "window" looks like: ----------------------------------------------------------------------------------------------------------- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2007 Aug 08
1
autocomplete field in ajax response html - css does not get applied.
Hi all, I have a page in which a div is updated with some html via Ajax. The returned html contains an autocomplete field. The autocomplete field works but the drop down results div does not get css applied to it so the selections don''t get highlighted when I use the up/down arrows and so I am unable to select from the drop down except for the first item. I have been looking at this in
2008 Jul 10
2
Need Browser to Not Cache Ajax Image
I am banging my head against the wall here. I have a gd-generated image that keeps being changed via ajax on my page. Since the image is generated based on querystring parameters (which don''t change) but is based on a model (that is constantly changing), the browser caches the image and you have to do a page refresh to update the image. I have hacked around it by appending a random number
2008 Jun 26
7
Strange readyStates in prototype Ajax
Hi, I''ve never posted here before so please forgive me if I''m not observing proper decorum, yadda yadda yadda :-) I''ve ran into a very, very strange bug with Prototype I wanted to share and see if anyone else has seen this. In a few of my projects involving Ext JS, I''m using the TreePanel control, which uses AJAX to load child nodes asynchronously. Because I
2008 Apr 04
8
Updatable "datagrid" with ajax support? Is there any code/approach I can leverage?
Hi, I want to have a page in my Ruby on Rails application that is like a dynamic / updateable data grid. Like a matrix or spreadsheet segment (x rows, y columns) which one can click in any of the cells and make an update, which triggers some AJAX code to fire off the update, and then the responses come back and update whatever else needs updating based on this change. Is there a prototype
2007 Feb 14
5
FormTestHelper should change hidden fields
Railsoids: FormTestHelper rules. It tests your response.body form at the same time as it triggers your action, with all the parameters in that form. This obviously improves quality. But it took issue with this: submit_form ''validate_stuff'' do |form| form[''IBhidden''] = ''validate'' end The field IBhidden is a hidden field. To be
2007 Mar 01
3
Ajax.PeriodicalUpdater using Effect.Highlight to highlight newly loaded div
Hi folks. So far I have managed to get dataloading into a div froma php script. This script just passes the time on the server in a div to the javascript below. I am trying to get the last loaded data to call Effect.Highlight but it seems to highlight the 2nd last data instead. Can anyone see what''s going wrong here? I''ve tried everywhere to solve this. Check the code in action
2007 Apr 14
5
SAMBA Problem - Users take ownership
Hi, I have a problem with my Samba/WinBIND implementation. In folders shared by multiple people the last one to access and modify a file takes ownership of the file and changes the permissions so other users cannot make changes to the same file: [root@atlas PLANNING RECORDS]# cd REGIONAL\ 1\ AIRLINE\ DOCS/ [root@atlas REGIONAL 1 AIRLINE DOCS]# ls -al total 1232 drwxrws---+ 8 root
2006 May 30
1
sortable_element does not initiate AJAX calls
Having an odd problem with sortable_element. The :url option doesn;t seem to actually work. No AJAX calls are being generated. I can tell because Firebug extension does not show any AJAX requests, and the development.log file does not do anything when droppping the items in new positions. Here is the code I am using for sortable generation: <%= sortable_element
2008 Apr 09
13
submitting an ajax form via javascript not rendering
for some reason the controller is parsing everything fine, but the return is a page instead of code execution. I have other ajax forms no listed that are also running fine on this same page. there are supposed to be 3 ajax events: onblur event that calls a function to submit - doesn''t work. There is a submit button at the end of the form - works there is a delete image that removed the