search for: postbody

Displaying 20 results from an estimated 26 matches for "postbody".

Did you mean: postbode
2006 Jun 07
2
How to send post data with link_to_remote?
Hi, I''m trying to send a post body with my link_to_remote call. Prototype supports the ''postBody'' option, but I can''t seem to get link_to_remote to set that. Here''s what I''m trying: link_to_remote ''move up'', :url => { :controller => ''upload'', :action => ''position_ajax'', :id => upload.id...
2005 Jun 04
0
Problem with X100P (ZT_SPANCONFIG failed)
...DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-15" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> <span class="postbody">Hello! <br> <br> I have a problem with the installation of the X100P card. <br> <br> I compiled zaptel and I ran <br> modprobe zaptel <br> modprobe wcfxo <br> <br> But I get the following error by running wcfxo: <br> ZT_SPANCONFIG faile...
2007 Jul 19
0
ASP.NET AJAX Web Services and Prototype Version 1.5.1.1
...er that Prototype seems to expects it. I made some minor adjustments to Prototype to get it to work. Here is some sample code that calls the service: new Ajax.Request(''User.asmx/GetUserId'', { method:''post'', contentType: ''application/json'', postBody : {lsUserName : $(''uoManagerUsername'').value, lsCatalogName : $(''uoMainCatalog'').value}, onSuccess: function(transport, json){ var lnId = eval(json); if ($(''uoManagerUsername'').value == ''none'') lnId=0; if (lnId >=...
2007 Feb 15
2
ajax.request not working in ie7
...9;, ''POST http://'' + location.host + ''/something HTTP/1.1'',''MessageType'',''CALL'' ]; var myAjax = new Ajax.Request( url, { requestHeaders: headers ,contentType: ''text/xml'', method: ''post'', postBody: myString, onComplete: parseResponse }); --~--~---------~--~----~------------~-------~--~----~ 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@publi...
2008 Feb 13
8
comparing ajax.updater div in js
This is really bugging me no matter what I''m trying. In javascript, I''m using the ajax.updater, and it (obviously) writes back out to a div. I want to then compare what was echoed out into this div (which came from the php file I listed in ajax.updater) with a string. test should equal "SomeString" because that is what is being echoed out to
2006 Feb 13
2
[PATCH] Allow generic autocompleter (Ajax.Watcher)
...onObserverEvent: function() { + this.changed = false; + data = escape(this.element.value); + new Ajax.Request(this.url, Object.extend(this.options, { + onSuccess:this.callback, + method:"post", + postBody:"value="+data})); + }, + +}; + + + // The local array autocompleter. Used when you''d prefer to // inject an array of autocompletion options into the page, rather // than sending out Ajax queries, which can be quite slow sometimes.
2006 Mar 01
1
prototype.js ajax w/ post - how to send ''+'' character
...send it. here is the html and js that i am using. <input type="text" id="prodid" onkeyup="autosearch(this)" name="prodid" /> function autosearch(element) { new Ajax.Request(''ajax-search.php'', { method: ''post'', postBody: element.name + ''='' + escape(element.value), onComplete: showResponse }); return false; } ajax-search.php just echos (for testing right now) $_POST[''proddes''] ''neoflex standard output -green'' This demo does the same thing if you enter som...
2007 Aug 29
1
Re: using Ajax.PeriodicalUpdater in iPhone
...qe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Hi, > > I met a strange problems with PeriodicalUpdater in iPhone. This timer > event will last only four or five times. > > Code: > start :function(){ > ... > var soptions = {} > soptions.postBody = "RequestBody=" + > pars.toAjaxRequest().Body; > soptions.onSuccess = this.getMeetingDetail.bind(this); > soptions.frequency = 10; > this.callStatus = new Ajax.PeriodicalUpdater("", > this.eng._uri, soptions) > }, > > getM...
2004 Feb 08
1
Registering SJPhone with Asterisk
2006 Apr 10
10
Prototype Ajax - How to pass my own params to onComplete ?
...it in later functions //since ajax calls take us to other functions and we can''t seem to pass it along NamedActionElement = theElement; //skip setting up my vars for the ajax call //make the ajax call var ajaxCall = new Ajax.Request( urlCall, {method: ''post'', postBody: postFormData, onComplete: NamedActionResponseHandler} ); } function NamedActionResponseHandler(theResponse) { var elementThatTriggeredEvent = NamedActionElement; //do stuff based on values i have encoded into the element and //the data returned in theResponse } ---------------------- As yo...
2009 Sep 02
4
More Echo
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> <span class="postbody">Greetings,<br> I am running Asterisk 1.4.25 with Dahdi Complete 2.2.0, on a Digium TE121B PCI express card with a </span>VPMADT032<span class="postbody"> echo cancellation module, connected to an AT&T 24 channel PRI.</span><br> <br> When I...
2007 Jun 07
0
Prototype 1.5.1 Content-Type Header
...I used the following code for that. function makeWSCall(){ var opt = { method: ''post'', requestHeaders: [''Content-Type'',''text/ xml;charset=UTF-8'',''SOAPAction'',''""''], postBody: xmlDocument, // Handle successful response onSuccess: function(t) { alert(t.responseText); }, // Handle 404 on404: function(t) { alert(''Error 404: location "'' + t.statusText + ''" was not found.''); }, // Handl...
2007 Sep 07
0
Autocomplete Questions (Umlaut,AfterUpdateElement)
Hello all I got 2 little questions: The first is, what can i do, when some special Chars like "ä", "ö", "ü" doesn''t work. Is there a way to edit .js files, and where. ex: if i use the general AJAX.Request with "postbody: ''name''+escape(var)" it will work cause of the escape function, but then i had to write the whole autocomplete function by myself. the second is, the option "AfterUpdateElement". this option automatically send the vars "text" and "li" to the cal...
2008 Apr 21
1
Ajax.request - SOAPAction
...t, 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:''updateClient'', onComplete:setResult } ); --Mimi --~--~---------~--~----~------------~-------~--~----~ Yo...
2008 May 23
1
JSLint
I tried to run my code through the JSLint website and it errors out on the lines when I try to use new Ajax.Updater. '' new Ajax.Updater(''approve_entries'', ''functions.php'', { postBody:''action=chan...'' Is this just something I am going to have to deal with, or what? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send...
2007 Jan 21
0
Safari doesn't pass the headers.
...nt end end /app/views/problem/index.rhtml <html> <head> <%= javascript_include_tag :defaults %> <script language="javascript" type="text/javascript"> var Site = { loader: function(){ new Ajax.Request(''/problem/myrequest'',{ postBody:''content=this is a test'', method:''post'', asynchronous:true, evalScripts:true, onFailure: function(transport) { $(''content'').innerHTML=transport.responseText; }, onComplete: function(transport){ alert(transport.r...
2006 Apr 18
1
Ajax.Updater: getting onComplete to fire in IE
Has anyone found a way to get onComplete to fire in IE? I''ve built a bunch of functionality around Updater and this is a show-stopper for me. I''m on the latest Scriptaculous. Thanks much, Jamie
2006 Mar 29
0
MaxConnections in IE and Ajax.Request/Sortable
...''PEhover'', onUpdate: PESave, }); } } and: function PESave( cont ) { var str = Sortable.serialize(cont,{tag:''div''}); new Ajax.Request(''/tools/SavePageElements'', { method: ''post'', postBody: str, onComplete: function(xhr) { xhr = null; } }); } 1. Sortable triggers onUpdate twice if I drag an element between to containers, and not just reorder by moving within the same container. One onUpdate for each container that is. 2. Two requests is being sent to...
2007 Nov 07
2
Ajax.Request -post
...#39;' request, but nothing happens... need your help... function getOptionalGroups(key){ ur = server+''/waoptionalgroups?openagent''; var memb = memberOfParams(); var param = {key:escape(key),memberOf:escape(memb)}; new Ajax.Request(ur, {method:''post'', postBody: param, encoding: ''UTF-8'', contentType: ''text/html'', onCreate:function() {alert("linking");}, onSuccess: function(transport){ alert(transport.responseText); $(''dChooseOptionalADGroups'').innerHTML = transport.responseText; },...
2006 May 23
10
throttling...
Is there a way to throttle the firing of updater requests easily with Prototype? Thanks, mark