er the page has really unloaded, and thus there's nothing left of
> the page to do any work for you.
>
> Walter
>
>
> On Mar 9, 2011, at 3:53 PM, Joannes De KOSTER wrote:
>
> Hello,
>>
>> I try to launch a javascript when i leave a page. I tryed th
Hello,
I try to launch a javascript when i leave a page. I tryed this way but it
don't seem to be working right :
Event.observe(window, 'unload', LibererThreads);
Does anybody have an idea how to deal with this?
Thanks a lot.
--
Sincères salutations.
Joannes De KOSTE
parameters: params_ajax,
onSuccess: function() { Effect.Fade.delay(3,
'messagemodifieremail'); },
onFailure: function() { alert('Une erreur est survenue lors
de la procédure ModifierEmailCompte.'); }
}
);
}
Event.
After some tryouts, i've found the way to do it right... Sometimes you
need time to find the right combination...
Joannes
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul..
That seems very logical ;) I thought maybe there was an event that
could happen on the change of the content of a div for example.
Thanks a lot for your answer!
Joannes
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to
Hello,
How can i apply a script on an html element (for example a table) when
this element is loaded in the page afterwards (after ajax request)?
This code never gets to work for example :
$$('tr.lignealternative').each(function(elmt) {
elmt.observe('mouseover', functio
Hello,
I am trying to program a function that should do the following :
- check for an email adress in a database
- if not -> save the new adress
- if already exists -> ask to save anyway
- if no -> cancel and put the first email adres back in the form
- if yes -> save
I get it almost working ri
e-class_method
> [2] http://prototypejs.org/api/document/observe
> [3]
> http://proto-scripty.wikidot.com/prototype:tip-you-probably-don-t-need-bindaseventlistener
> [4] http://api.prototypejs.org/language/function.html#bind-instance_method
>
> HTH,
> --
> T.J. Crowder
> Indepen
Hello,
I am trying to learn the use of prototye in stead of using regular
javascript. I would like to know how to replace the following syntax
with one from prototype. After a few tryouts, i can't seem to get this
work :/
// textes par défaut zones de saisie
var TexteDefautRechercheFiche = "Rec