search for: xmlhttprequest

Displaying 20 results from an estimated 135 matches for "xmlhttprequest".

2005 Mar 06
8
Tutorial about XMLHttpRequest+Rails
Hi All I just finished writing up a tutorial relating my experience developing a system to edit line-items ''in-line'' in my Rails application using XMLHttpRequest. I thought this might be of interest to some readers of this list... Check it out at http://hieraki.goodlad.ca/read/book/1 Thanks! Dave -- Dave Goodlad dgoodlad-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org or dave-eHfbeeWWzZOw5LPnMra/2Q@public.gmane.org http://david.goodlad.ca/
2006 Mar 16
23
AJAX on Mobile Internet Explorer
Hi! I try to get AJAX running on a mobile Windows Mobile 5.0 based device and failed. There should be a JavaScript support but nothing happens. Have any of you experience with the rails javascripts on a this platform or are there any hints, documentation on the net? tia, -- Daniel V?lkerts Protected by Anti Pesto.
2009 Jul 24
6
Routes from raw js (using XMLHttpRequest)
I am making an ajax call from js to call a method (assocboxchange) in my controller (AssociatesController), using XMLHttpRequest. I know the XMLHttpRequest works fine because I use it in other places with success. My problem is my URL I am using for this request doesn;t access the method in my controller which I (think) I am specifying. I am having it post to /channels/assocboxchange/" with certain parameters, but the...
2005 Dec 21
5
ajax - multiple updates on single xmlhttprequest
Hello, I was wondering whether anybody would share a working example of a multiple html update on a single xmlhttprequest. Thank you in advance for your help. _________________________________________________________________ On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement
2008 Jan 19
1
Set Return Type XML in Prototype
...ulateAjaxFunction.php''; var a = { empID: 100, amountTK: 200, third: 30 }; var pars = new Hash(a).toQueryString(); var myAjax = new Ajax.Request( url, { method: ''get'', parameters: pars, onComplete: loadXML }); } function loadXML(xmlHttpRequest) { // code for IE if (window.ActiveXObject) { xmlDoc = new ActiveXObject("MSXML2.DOMDocument"); xmlDoc.loadXML(xmlHttpRequest.responseText); //xmlDoc=new ActiveXObject("Microsoft.XMLDOM"); //xmlDoc.async=false; //xmlDoc.load(xmlHttpRequest.responseText); alert(x...
2005 Oct 18
3
Ajax.Request / XmlHttpRequest details
Does anyone know a good reference for the various statuses that XmlHttpRequest''s readyState property can have? I mean, I know what the states are, but I''m unclear on the circumstances under which each occurs... In a simple test I wrote, I''m seeing the loaded, interactive and complete states (i.e. my Ajax.Request instance calls its onLoaded,...
2006 Apr 10
0
302 Redirect + XMLHttpRequest = ARGH!!1
...r how to handle 302 redirects but they all seem to be fundamentally flawed, ie don''t work at all. I''ve writted a much more verbose writeup of my problems on my blog and rather than repeat that here just go there. http://height1percent.com/articles/2006/04/10/http-302-redirects-xmlhttprequests-argh-1 Thanks -- Posted via http://www.ruby-forum.com/.
2006 May 23
10
throttling...
Is there a way to throttle the firing of updater requests easily with Prototype? Thanks, mark
2006 Nov 04
0
Re: Tutorial about XMLHttpRequest+Rails
this is an old post, but I just wondered if the tutorial is still available anywhere, I would be interested. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060823/60556f75/attachment-0001.html
2008 Nov 14
0
no layout in xmlHttpRequest in Rails2.2
hi, Doest rails2.2 removed support for none layout render in xmlrequest? regards --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to
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
2008 Sep 10
5
xmlhttprequest for updating
...call the show method via a HTML request, so all my page is refreshed when the view show.html.erb is displayed...which is not what i want as i sent the form through AJAX in order to update the DOM "content2" Is it possible to change redirect_to so that the call of def show is done through xmlhttprequest and only my partial _show.html.erb is displayed (I already have a show.js.rjs)? I tryied to play with format in update but i always get an argument error when request is done via AJAX. def update: respond_to do |format| if @sample.update_attributes(params[:sample]) flash[:notice] =...
2008 Jul 01
2
permission denied when using prototype
Hi, i am trying to call AJAX with domain address different than mine. but i get an exception: permission denied to call method XMLHTTPRequest.open What''s the solution? --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gman...
2006 Apr 11
26
Firefox won''t let me send ''&'' with AJAX!
Hi everyone, I''ve encountered a HUGE problem, which may not be RoR-oriented, but there might be a workaround somehow. See, at this moment, I''m unable to send AJAX requests back and forth when the information contains an ampersand (''&''). In essence, request is never completed. The odd thing is that it only happens with Firefox (IE and Opera works fine).
2005 Jul 28
2
CSS and autocompleter
hi. I''m rewriting the code from my own save-yourself-if-you-can implementation of xmlhttprequest to scriptaculous autocompleter, and it''s all fine and dandy, except that I am having difficulty positioning the auto_complete div which contains the results returned by xmlhttprequest. the auto_complete div is always stuck in one place, it starts a little below and half way to the...
2006 Feb 21
2
Ajax reqest and http status
...usefull here, but sometimes when i need to do AJAX CALL my ajax call is redirect and i want to when it happen, is there way to find status of ajax call? i don''t know where I can find this property in AJAX.Request, Ajax.Responder or maybe it doesn''t exist? I know that using clear xmlhttprequest there is a property called request.status. And one thing more - i hear that IE is caching AJAX call. That mean if something is changed on serverside browser still use data from cache. Is there a way to avoid this? i hear that other ajax library use uniqueParameter to force browser not caching ajax...
2006 Mar 10
1
Maximum size of Ajax partial in Firefox?
...39;ve seen in the archives that there have been some Firefox-related Ajax issues in the past, but there has never been much in the way of resolution. One example I''ve found is: http://thread.gmane.org/gmane.comp.lang.ruby.rails/37284 Does anyone know if there is a hard Firefox limit to XMLHttpRequest response data? I''m guessing that if there is, it''s 8k, but I thought I''d check in first. Thanks, Paul
2006 Apr 15
1
Begin with Autocompleter
...r". I work with PRADO framework (http://www.xisc.com) and PHP as a script language. Now this is a little function in JavaScript for make a AJAX call and show the results without reload the entire page. See below: 1 function makeRequest(url,element) { 2 var http_request = false; 3 if (window.XMLHttpRequest) { // Mozilla, Safari,... 4 http_request = new XMLHttpRequest(); 5 if (http_request.overrideMimeType) { 6 http_request.overrideMimeType(''text/xml''); 7 } 8 } else if (window.ActiveXObject) { // IE 9 try { 10 http_request = new ActiveXObject("Msxml2.XMLHTTP"...
2005 Sep 15
12
Ajax to sockets.
Hello, I am trying to find a way to implement ajax with a given socket server. Basically I have a support system that is fully integrated, but I can not stand the "JAVA" chat client because of the security warning and load time. So I figured I would look towards ajax especially since it has XML capabilites. I have the whitepaper on the socket server, this socket server is on the same
2006 Jun 27
13
Campfire: Dissection
Campfire REALLY intrigues me... Its simple enough, yet the possibilities are endless once they get the API in place for it. I''m curious though, how are they handling they load with say 50 campfire sessions going and 20+ people in each session. There are a lot of AJAX.Requests going I''m assuming. Seems to me the server *should* be getting bogged down on the constant