Displaying 20 results from an estimated 20 matches for "oncreat".
Did you mean:
o_creat
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 Aja...
2006 Jun 26
2
Prototype Ajax event handlers
I''ve been trying to use the prototype.js Ajax obect''s event handlers (onCreate, onComplete) inside the options tags as
below:
function updateCalendar(today, id){
new Ajax.Updater("calendars", "calendar.inc.php",
{asynchronous: true,
onCreate: function(){ showBusy },
onComplete: function(){ hideBusy },
method: "get",...
2006 Apr 07
6
ajax loading message
Hello,
I''m looking for some help - I''m having problems in getting the loading
message to disappear - sometimes it disappears, sometimes it doesn''t.
This is the javascript I have:
ajaxContent: function(iTabPos) {
if (isNaN(iTabPos)) return false;
var iTabIndex = this._posToIndex(iTabPos);
2008 Jun 13
3
dynamically change frequency in periodicalUpdater
...erver. I''d like to have a
periodicalUpdater whose frequency can be set bases on the size of the
result set. I''ve tried to set
onSuccess: function() {
this.frequency = dataSize * 5;
}
While this does change this.frequency, but when I tried to
alert(this.frequency) in subsequent onCreate callback, it remains the
value the PU is initialized with. (and the PU updates according to the
initial frequency).
Is there a way to change frequency in the exposed onSuccess or
onCreate call back? Or how can I pass the dataSize to the
updateComplete in prototype.js, if that''s the way...
2005 Dec 19
4
Observing Ajax Requests?
Is it possible using scriptaculous/prototype to watch out for any
happening Ajax activity, and do something like show/hide a spinner gif
to indicate to the user that there is activity taking place in the
backgound?
Regards,
Michael
------------------------------------------
Michael Roper - Web Developer
WORLDWIDE ONLINE PRINTING AUST/NZ
[T 08 9350 2300] [F 08 9451 6048]
[E
2006 Mar 07
1
Ajax.Responders- how to get responseText?
Hi All. In my site I have situation that I always want to execute some piece of code when AJAX call happen. I am using function onCreate and onComplete from tutorial:http://www.sergiopereira.com/articles/prototype.js.html
but I don''k how to manipulate Ajax responseText in this function. Does anyone know how to do it?
Gregor
----------------------------------------------------
Zagraj o tytuł Króla Strzelców i poczuj atmos...
2009 Sep 04
12
Changing cursor while waiting for remote function response?
Hello,
Google and the search function didn''t help me this time. Is it possible
to change the mouse cursor while waiting for a response of a remote
function call?
--
Posted via http://www.ruby-forum.com/.
2005 Dec 21
1
RE: Prototype: correct useage of onComplete withAjax.PeriodicalUpdater
...39;'/ajax-url'',
{
onComplete: function (request){fooBar()},
onLoading: function(request){ showProgress()},
parameters: params,
asynchronous:true,
decay:2,
frequency:20.0
});
But registering the onComplete using Ajax.Responders DOES work :
Ajax.Responders.register({
onCreate: function() {
if($(''buddies-loading-notice'') && Ajax.activeRequestCount>0)
showProgress();
},
onComplete: function() {
if($(''buddies-loading-notice'') && Ajax.activeRequestCount==0)
fooBar();
}
});
I tried pass...
2005 Dec 21
1
RE: Prototype: correct useage of onCompletewithAjax.PeriodicalUpdater
...on (request){fooBar()},
> onLoading: function(request){ showProgress()},
> parameters: params,
> asynchronous:true,
> decay:2,
> frequency:20.0
> });
>
> But registering the onComplete using Ajax.Responders DOES work :
>
> Ajax.Responders.register({
> onCreate: function() {
> if($(''buddies-loading-notice'') && Ajax.activeRequestCount>0)
> showProgress();
> },
> onComplete: function() {
> if($(''buddies-loading-notice'') && Ajax.activeRequestCount==0)
> fo...
2006 Aug 19
1
acts_as_commentable
Don''t think this got through last time.
Would someone mind giving me some feedback on rendering threaded
comments:
http://pastie.caboo.se/9255
2007 May 22
2
onInteractive does not work on IE and Opera
onInteractive work well on Firefox but no effect with IE or Opera
any suggestion? thanks
--~--~---------~--~----~------------~-------~--~----~
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.gmane.org
To unsubscribe from this group, send
2007 Jun 24
0
Browser-level "Loading" Cursors for AJAX
I''ve only tested this in Firefox so far, but it seems handy. One more way to
let people know that stuff is going on behind the scenes.
var SomeAjax = new Ajax.Request("/some/address", {
onCreate: function() { document.body.parentNode.style.cursor =
"progress" },
onComplete: function() { document.body.parentNode.style.cursor =
"default" } })
--
-=jack[turner-fBgUz5AM8P2sTnJN9+BGXg@public.gmane.org & thoughtbucket.tumblr.com]
--~--~---------~--~----~----------...
2006 May 16
1
Ajax.Responders and onComplete
Hi all. I''m writing some kind of filter that i want passby my all AJAX request, and I stuck. I create object and pass him to Ajax Responders
like this:
var myGlobalHandlers = {
onCreate: function(){
Element.show(''loading'');
},
onComplete: function(request) {
alert(request.responseText);
}
};
Ajax.Responders.register(myGlobalHandlers)
and when I made ajax call alert show me always undefined. Call was made both by Ajax.Response and Aj...
2006 Apr 30
1
Draggable - how start action on start dragging and end action on droppping
Hi all. I have got situation that I made element draggable - and
when element is dragged I want to start some action (e.g. shown
AJAX indicator, and change one of CSS class in dragging element).
What is the best way to achieve this? I search source code of the
Draggable and I saw that there is 2 method: Draggable.initDrag
and Draggable.endDrag so it looks like in initDrag method i
should
2005 Dec 21
0
Prototype: correct useage of onComplete with Ajax.PeriodicalUpdater
...39;'/ajax-url'',
{
onComplete: function (request){fooBar()},
onLoading: function(request){ showProgress()},
parameters: params,
asynchronous:true,
decay:2,
frequency:20.0
});
But registering the onComplete using Ajax.Responders DOES work :
Ajax.Responders.register({
onCreate: function() {
if($(''buddies-loading-notice'') && Ajax.activeRequestCount>0)
showProgress();
},
onComplete: function() {
if($(''buddies-loading-notice'') && Ajax.activeRequestCount==0)
fooBar();
}
});
I tried pass...
2007 Nov 07
2
Ajax.Request -post
...rver+''/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;
},
onFailure: function(){alert(''Could not fetch the optional groups'');}
}
);
}
/...
2005 Dec 29
2
Ajax.Request: onLoading executed after onComplete in IE
Hi,
i''m trying to use a visual indicator for my Ajax requests. It''s based on the
shopping cart demo at script.aculo.us and works great in Firefox, Konqueror
and Opera, but fails in IE6. For some reason (timing problems?) onComplete is
executed before onLoading, so the indicator is shown but not hidden when the
request has finished.
Oddly enough it works fine in the shopping
2007 Sep 28
3
Why PeriodicalUpdater doesn't work on Internet Explorer?
I have the following code:
<script type="text/javascript">
Event.observe(window, ''load'', function() {
var updater = new Ajax.PeriodicalUpdater(''chatbox'', ''chat.php'',
{method: ''get'', asynchronous: true, frequency: 0.55, decay: 2,
onSuccess: function(){$(''chatbox'').scrollTop=$
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 Sep 19
0
Wine release 1.1.5
...tml/tests: Add a trailing '\n' to an ok() call.
d3dx9_36: Fix compilation on systems that don't support nameless unions.
gdiplus: Add some documentation stubs to make winapicheck happy.
Gerald Pfeifer (2):
wordpad: Shed off unused parameters from on_fontlist_modified, OnCreate, OnUser, OnNotify, and OnInitPopupMenu.
comctl32: Remove unused paramters from MONTHCAL_GetRange, MONTHCAL_MouseMove, and MONTHCAL_Create.
Hans Leidekker (22):
winhttp: Start sending async completion notifications. Add corresponding tests.
winhttp: Implement WINHTTP_OPTION_SERVE...