Thank you for all reply guys :D
Could you please confirmed me if this example can work, because i tested
and it's not working ...?
insert_events(id, json[1]);
insert_events(id, json[2]);
insert_events(id, json[3]);
insert_events(id, json[4]);
insert_events(id, json[5]);
insert_events(id, json[6]);
insert_events(id, json[7]);
in
Hello,
Is it possible to limite simultaneous requests whit XHR ?
I want to run 5 queries (for example) one by one after the end of the
execution of the first.
Best regards,
Le jeudi 20 décembre 2012 21:18:45 UTC+1, Sid-ahmed D a écrit :
>
> Thank you :D
>
> Le jeudi 20 décembr
Thank you :D
Le jeudi 20 décembre 2012 04:08:17 UTC+1, Sanford Whiteman a écrit :
>
> > Could you please say me if we can modify Header in JSONP request ?
> > I use Mootools framework to make JSONP requests.
>
> You can't modify headers in JSONP. Only with full CORS support can you
> get XHR-ty
I try to connect my website with Google API Calendar (with Javascript) and
i need to inject header in JSONP requests.
var ressource = {
> "defaultReminders":[{"method":"sms", "minutes": 10}],
> "id": "CalendarTEST"
> };
>
> new Request.JSONP({
> u
Hello Everybody,
Could you please say me if we can modify Header in JSONP request ?
I use Mootools framework to make JSONP requests.
Thank you.
Best regards,
Awesome.
Thank you very much ^^
Someone can help me?
Le vendredi 24 février 2012 19:24:45 UTC+1, Sid-ahmed D a écrit :
>
> Not working for me.
>
> On Firefox or chrome.
>
> Le vendredi 24 février 2012 16:00:55 UTC+1, hazlema a écrit :
>>
>> http://jsfiddle.net/hazlema/RLvAa/1/
>>
>>
Not working for me.
On Firefox or chrome.
Le vendredi 24 février 2012 16:00:55 UTC+1, hazlema a écrit :
>
> http://jsfiddle.net/hazlema/RLvAa/1/
>
> made a little change but is working with multiple requests in chrome.
>
>
Hello Everyone,
It's me again for same issue with addEvents
My example : http://jsfiddle.net/RLvAa/
If i execute this, it's working.
If i remove one "request.send();"
and i write in #locate and if request during 2 seconds for example, it's
not working.
Requests launch one after others.
Could
Hello Everyone,
It's me again for same issue with addEvents
My example : http://jsfiddle.net/RLvAa/
If i execute this, it's working.
If i remove one "request.send();"
and i write in #locate and if request during 2 seconds for example, it's
not working.
Requests launch one after others.
Could y
Wa awesome.
It's perfect thank you very much for your help.
almost perfect ... but I need div name in onComplete for example.
onComplete: function (json) {}
$('form_'+id).dispose();
}
Have you an idea ?
Arrf
But i lost a parameter "div" ?
Hello world,
I need your help, please ^^
3 requests are started by function "form_comment(x)" but just one can
running.
I try to use link cancel but doesn't work.
"div" name is a primordial element and it can change depending on page.
form_comment(div1);
form_comment(div1);
form_comment(div1)
Thank you for your reply and your motivations to help me.
I will rework my script.
Sorry but my use is : http://jsfiddle.net/TAdu5/6/ but i can't use a
function ? (i think)
But if i send the result to another function, link 'cancel' doesn't work !
Okay i have a last question for use this scripts correctly.
I need return the variable in request.html.
http://jsfiddle.net/TAdu5/5/
Could you please (re) help me ? ^^
jsFiddle was down but now it's ok.
I don't understand because with test1, it's work.
With the test2 : http://jsfiddle.net/TAdu5/3/.
I try to do work "link cancel".
I Have a issue with function() {...}(); ??
Thank you very much for your help ^^
I try to execute correcty the last test : http://jsfiddle.net/TAdu5/3/
Link 'cancel' doesn't work.
correct link : http://jsfiddle.net/TAdu5/3/
Thanks
Hi,
I have a issue with Request function.
I search to use link 'cancel' :
http://jsfiddle.net/w8jKL/
This test works, but i want use a function in primary function and this
exemple doesn't work.
http://jsfiddle.net/TAdu5/1/
Could you please help me ?
Thank you
thank you for you reply :)
Hi all,
I have a issue with Request.HTML "link" option doesn't work with function ?
Could you please say me why and how i can resolve this ?
http://jsfiddle.net/gjNMW/
Thank you very much.
Thank you for your patience and your time.
Hopefully this article will be used for someone else.
Special thanks to Sanford Whiteman ^^
On Aug 8, 10:27 pm, Sid-ahmed D wrote:
> Okay,
> i need close Session after get all SESSION datas.
>
> session_start();
> $da
Okay,
i need close Session after get all SESSION datas.
session_start();
$datas = $_SESSION;
session_write_close();
On Aug 8, 10:17 pm, Sid-ahmed D wrote:
> Thank you ! you are genious ^^
> commom object is session_start ().
>
> When i remove this ...
> GET test.php 200 OK 5.
Thank you ! you are genious ^^
commom object is session_start ().
When i remove this ...
GET test.php 200 OK 5.03s
GET test2.php 200 OK 5.03s
BUT ... i need to my session ...
On Aug 8, 10:07 pm, Sanford Whiteman
wrote:
> > The requests on the back end, check if i receive a new message (mail)
>
The requests on the back end, check if i receive a new message (mail)
and on the front end users can refresh or change page with other
Request.HTML.
the requests on backend execute in 55 seconds.
For now, users are blocked until this 55 seconds for change page ...
On Aug 8, 9:59 pm, Sanford Whit
which is settings on server apache to allow multi-requests
asynchronous ?
On Aug 8, 9:15 pm, Sean McArthur wrote:
> Can your test server only handle a single request at a time?
be ignored,
> cancelled, or chained. Creating multiple instances of Request.* and having
> them run simultaneously will not block the user...
>
> ~Philip
>
> On Mon, Aug 8, 2011 at 1:30 PM, Sid-ahmed D
> wrote:
>
>
>
>
>
>
>
>
>
> > It is therefor
Could you please show me a example ?
Because, i try and i try and ... nop ..
I start 2 requests "simultaneously" to 5 secondes.
I see in console log, 2 requests start "simultaneously" but the first
finish to 5sec and seconds to 10 sec ...
They start "simultaneously" but execute in 'chain' ...
On
nk you
On Aug 8, 8:02 pm, Sid-ahmed D wrote:
> Thank you for your responses.
>
> I *should* --> i would :)
>
> On Aug 8, 7:36 pm, Philip Thompson wrote:
>
>
>
>
>
>
>
> > On Mon, Aug 8, 2011 at 12:25 PM, Aaron Newton wrote:
> > > On Mon, Aug
Thank you for your responses.
I *should* --> i would :)
On Aug 8, 7:36 pm, Philip Thompson wrote:
> On Mon, Aug 8, 2011 at 12:25 PM, Aaron Newton wrote:
> > On Mon, Aug 8, 2011 at 10:21 AM, Philip Thompson
> > wrote:
>
> >> They *should* run simultaneously as you have it. You do have the "lin
Hello,
How can I run two requests simultaneously?
In my example, two requests are going on simultaneously, but the
execution is done one after other ...
var RQ1 = function() { new Request.HTML({
url: '/foo'
link : 'chain',
onSuccess: function (tree
I think (function ... is more common though.
>
> > > > On Aug 3, 2010, at 6:15 AM, Fábio M. Costa wrote:
>
> > > > jiggliemon,
>
> > > > no you dont need the extra parentheses, you could do:
>
> > > > function(){
> > > > ...
> > > >
ou had before and stuff like that. It's safer.
>
> > --
> > Fábio Miranda Costa
>
> > On Mon, Aug 2, 2010 at 11:00 AM, Sid-ahmed D
> > wrote:
>
> > > Perfect, it's working now.
> > > Thank you.
>
> > > just to under
lick 3 times in a row, it will call the first, when it finishes another
> will be called and then another.
>
> --
> Fábio Miranda Costa
>
> On Mon, Aug 2, 2010 at 10:09 AM, Sid-ahmed D
> wrote:
>
> > I can not put a variable "url" in this configur
I can not put a variable "url" in this configuration.
Could you please help me ?
http://jsfiddle.net/KzMDG/1/
Thank
On 2 août, 11:17, Dimitar Christoff wrote:
> > You should never create the request object inside the click event.
>
> and why not if you don't plan on recycling it?
>
> Best regar
I can not put a variable "url" in this configuration.
Could you please help me ?
http://jsfiddle.net/KzMDG/1/
Thank
On 2 août, 11:33, Sid-ahmed D wrote:
> Thank you for all your reply.
>
> On 2 août, 11:17, Dimitar Christoff wrote:
>
> > > You should never creat
Thank you for all your reply.
On 2 août, 11:17, Dimitar Christoff wrote:
> > You should never create the request object inside the click event.
>
> and why not if you don't plan on recycling it?
>
> Best regards,
> --
> Dimitar Christoff
> blog:http://fragged.org/twitter:http://twitter.com/D_mit
It's strange.
In the Mootools documentation:
Ignore is the default value, however it does not work.
http://mootools.net/docs/core/Request/Request
link - (string: defaults to 'ignore')
On 2 août, 00:35, Sid-ahmed D wrote:
> I can try this :http://jsfiddle.net/6UqAP/3/
&
I can try this : http://jsfiddle.net/6UqAP/3/
But it's not work.
On 2 août, 00:27, Sid-ahmed D wrote:
> Thank.http://jsfiddle.net/6UqAP/2/
>
> hehe :)
>
> On 2 août, 00:15, Fábio M. Costa wrote:
>
> > if you use the option link: 'ignore', no requests wil
il hehe.
> Send the correct and i can show how to set the link options, but its pretty
> easy.
>
> --
> Fábio Miranda Costa
>
> On Sun, Aug 1, 2010 at 7:03 PM, Sid-ahmed D
> wrote:
>
> > Hi,
>
> > How do you block the action of a function when it is started an
Hi,
How do you block the action of a function when it is started and
reactivate when the application is completed?
http://jsfiddle.net/6UqAP/
Imagine that the query takes 10 seconds to appear, if I continue to
click the go button .. other requests are sent to the server.
Is there a way to block
Perfect Thank you Mihaitza and Fabio M.Costa :)
On 1 août, 23:37, MIhaitza wrote:
> orhttp://jsfiddle.net/6UqAP/
>
> On Aug 2, 12:34 am, Sid-ahmed D wrote:
>
> > I found this :
>
> > Element.implement({
> > appendHTML: function(html) {
> >
I found this :
Element.implement({
appendHTML: function(html) {
this.set('html',this.get('html')+html);
return this;
}
});
On 1 août, 23:29, Sid-ahmed D wrote:
> AppendHTML exist on Jquery but not on Mootools ??
>
> On 1 août, 23:21, Fábio M. Costa
AppendHTML exist on Jquery but not on Mootools ??
On 1 août, 23:21, Fábio M. Costa wrote:
> yes there is :D
>
> http://jsfiddle.net/6kspb/1/
>
> just use appendText function.
>
> --
> Fábio Miranda Costa
>
> On Sun, Aug 1, 2010 at 6:16 PM, Sid-ahmed D
> wrote:
&
n, Aug 1, 2010 at 6:16 PM, Sid-ahmed D
> wrote:
>
> > Hi all,
>
> > I wonder if it is possible to add content without deleting the
> > existing content of a div # example.
>
> >http://jsfiddle.net/6kspb/
>
> > Desired result is -
> > Hi, my name is : Sid
>
> > Thanks :)
--Original Message-
> From: mootools-users@googlegroups.com
>
> [mailto:mootools-us...@googlegroups.com] On Behalf Of Sid-ahmed D
> Sent: Wednesday, July 28, 2010 8:49 AM
> To: MooTools Users
> Subject: [Moo] Re: equivalent appendHTML for Mootools
>
> Thank you but it's
Thank you but it's too bad that Mootools does not support all custom
events or support focus and blur events.
On 28 juil, 04:51, Sanford Whiteman
wrote:
> Sorry, I didn't get to look at your Fiddle before.
>
> The most forward-looking way to do this is using event delegation.
>
> http://jsfiddle.
There may be a way to reload the javascript for the new DOM elements
is taken into account.
On 27 juil, 21:54, Sid-ahmed D wrote:
> yes, I could.
> But in my use, this function can be used by different elements.
> I did this at the beginning (http://jsfiddle.net/FFCp8/) but the real
>
ld do it like this:http://jsfiddle.net/cft4J/1/
>
> the ok-div is created when you submit the form. but you trying to access
> it before.
>
> On 27.07.2010 21:09, Sid-ahmed D wrote:
>
> > voila la demo :
> >http://jsfiddle.net/cft4J/
> >
> > Merci de votre aide.
here is the demo:
http://jsfiddle.net/cft4J/
Thank you for your help.
On 27 juil, 21:40, Sid-ahmed D wrote:
> voila la demo :http://jsfiddle.net/cft4J/
>
> Merci de votre aide.
>
> On 27 juil, 21:14, Sanford Whiteman
> wrote:
>
> > Please put runnable, fixable d
voila la demo :
http://jsfiddle.net/cft4J/
Merci de votre aide.
On 27 juil, 21:14, Sanford Whiteman
wrote:
> Please put runnable, fixable demos of problem pages in jsFiddle
> (www.jsfiddle.com).
>
> -- S.
#x27;);
));
));
On 27 juil, 20:55, Sid-ahmed D wrote:
> Excellent :P
> Perfect
>
> Thanks all :)
>
> On 27 juil, 20:43, Sanford Whiteman
> wrote:
>
> > > How can I be sure elements are in the DOM ?
>
> > Use your browser's DOM inspector.
>
> > -- S.
Excellent :P
Perfect
Thanks all :)
On 27 juil, 20:43, Sanford Whiteman
wrote:
> > How can I be sure elements are in the DOM ?
>
> Use your browser's DOM inspector.
>
> -- S.
this.set('html',this.get('html')+html);
> > return this;
> > }
> > });
> > document.body.appendHTML('');
>
> > On Jul 28, 1:41 am, Sid-ahmed D wrote:
> > > Hi all,
>
> > > I wonder if there is an equivalent as [b]appendHTML[/b] (jQuery) for
>
Hi all,
I wonder if there is an equivalent as [b]appendHTML[/b] (jQuery) for
Mootools?
I would add [i]HTML code[/i], in the DOM.
Merci à tous :)
Hi all,
I search THE function equivalent for sleep (php) in mootools.
I don't remenber but i know that this function exist and i don't find
him.
this isn't one of the following functions :
-delay
-setTimeout
The function that i search, use like a function sleep in php.
blabalbal;
sleep(3); //
60 matches
Mail list logo