search for: ajaxrequest

Displaying 8 results from an estimated 8 matches for "ajaxrequest".

2009 Jun 17
4
Serverside AjaxRequest or AjaxUpdater detections
...e this: if request.xhr? then render :update do |page| page.redirect_to url_for_thingy end else redirect_to redirect_to url_for_thingy end This works perfectly, however, I have one annoyance. On the server side, I don''t know if the xhr request coming in is from an AjaxUpdater or AjaxRequest (using prototype here). It''s possible that the browser will update a DOM element or that it just expects some javascript code. When an AjaxUpdater is used, the element is updated and the javascript is executed (so the redirect is done), but it just doesn''t look so nice. Anyone go...
2005 Sep 25
14
script.aculo.us 1.5 release candidate 1
So, the first script.aculo.us 1.5 release candidate is out! Important changes and fixes from 1.5_pre4 (for a detailed list, see the CHANGELOG file): * Droppables w/greedy and hoverclass are now reverted when dragged item is no longer over them, fixes #2184 * Let Effect.Highlight correctly parse IE colors, add String.prototype.parseColor() for this, fixes #2037 * Make scriptaculous.js work
2007 Jun 09
7
AJAX Exception just started with Safari and Firefox on OS X, no problem on other machines
...{"transport":{},"options": {"method":"get","asynchronous":true,"contentType":"application/x-www- form-urlencoded","encoding":"UTF-8","parameters": {"submitlogin":"TRUE","ajaxrequest":"FALSE","htmlos_login_username":"roo t","htmlos_login_password":"","desktoplogin":"","AESTIVACVNLIST":"htmlos _login_username"}},"url":"http://clearimageonline.com/pages/htmlos/ 56272.1...
2006 Jun 16
3
onCreate not getting triggered.
I am trying to get a loader to display during ajax requests, but the "onCreate" is not getting triggered. The onComplete does. function loadComponent(section){ values = arguments[1] pars = $H(values).toQueryString() pars = "section="+section+"&"+pars var url = ''/internal/ajax/requests.php''; var ComponentLoader = new
2008 Feb 28
15
Ajax.Updater response encoding Safari
new Ajax.Updater($(''toppanel''), ''/ajax/form.php'', { parameters: {}, evalScripts: true, insertion: Insertion.Before }); form.php encoding is utf-8. page encoding is also utf-8. Why response encoding is broken in Safari? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby
2008 Apr 21
1
Ajax.request - SOAPAction
If I build my own XMLHttpRequest, I can do the following: this.xmlHttp.setRequestHeader("SOAPAction", ''updateClient''); How can I do the same with AjaxRequest()? var myAjax = new Ajax.Request( this.service, { method:''post'', postBody:soapXML, contentType:''text/xml'', encoding:''UTF-8'', SOAPAction:''u...
2006 Nov 24
1
sortable - after complete dropping element want to send ajax reqeust with id of elements: draggable and droppable
...s - I use sortable on html list, and after I move elements I want to do ajax reqeust to serwer with the id of dragging element and id of the element that was droppable. How to do it? which function in Sortable class i have to overrider or modify? i try to modife onhover method in sortable and put a ajaxRequest call before methods dropon.parentNode.insertBefore (line 742 or line 758) but I noticed that piece of code is executed whenever i release the mouse button (and finally change position of elements) or not. So how to do this? Please help me and thanks Gregor --~--~---------~--~----~------------~-...
2006 Jan 07
3
script.aculo.us: autocomplete does not work
I copied an exact copy of "http://demo.script.aculo.us/ajax/autocompleter" to my harddisc inclusive all .js and .css. Then I changed "new Ajax.Autocompleter(''contact_name'', ''contact_name_auto_complete'', ''/ajax/auto_complete_for_contact_name'', {})" to "new Ajax.Autocompleter(''contact_name'',