Re: [Proto-Scripty] event on leaving page

2011-03-09 Thread Joannes De KOSTER
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

[Proto-Scripty] event on leaving page

2011-03-09 Thread Joannes De KOSTER
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

[Proto-Scripty] Form submit problem

2010-09-02 Thread Joannes De KOSTER
parameters: params_ajax, onSuccess: function() { Effect.Fade.delay(3, 'messagemodifieremail'); }, onFailure: function() { alert('Une erreur est survenue lors de la procédure ModifierEmailCompte.'); } } ); } Event.

[Proto-Scripty] Re: How to organize my ajax calls?

2010-03-18 Thread Joannes De KOSTER
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..

[Proto-Scripty] Re: firing function after page load

2010-03-18 Thread Joannes De KOSTER
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

[Proto-Scripty] firing function after page load

2010-03-17 Thread Joannes De KOSTER
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

[Proto-Scripty] How to organize my ajax calls?

2010-03-17 Thread Joannes De KOSTER
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

Re: [Proto-Scripty] Re: replace javascript with prototype equivalent

2010-03-16 Thread Joannes De KOSTER
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

[Proto-Scripty] replace javascript with prototype equivalent

2010-03-16 Thread Joannes De KOSTER
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