[Proto-Scripty] Why element never receives an event?
On the form form1 is an element MyElement I attach to MyElement event handler MyElement.observe ( 'form: updated', function (e ){...}); then in the code generating the event form1.fire ( 'form: updated'); but the handler is not called for MyElement Why? -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
[Proto-Scripty] Re: Why element never receives an event?
Hi, Events bubble *up* through the DOM, not down. Form elements are descendants of forms. If you fired the event on the form element, the form could see it; but not the other way around. HTH, -- T.J. Crowder Independent Software Consultant tj / crowder software / com www.crowdersoftware.com On Feb 1, 11:02 am, buda www...@pochta.ru wrote: On the form form1 is an element MyElement I attach to MyElement event handler MyElement.observe ( 'form: updated', function (e ){...}); then in the code generating the event form1.fire ( 'form: updated'); but the handler is not called for MyElement Why? -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
[Proto-Scripty] Re: Why element never receives an event?
how to register a handler for processing the message form its elements in right way? On 1 фев, 13:16, T.J. Crowder t...@crowdersoftware.com wrote: Hi, Events bubble *up* through the DOM, not down. Form elements are descendants of forms. If you fired the event on the form element, the form could see it; but not the other way around. HTH, -- T.J. Crowder Independent Software Consultant tj / crowder software / comwww.crowdersoftware.com On Feb 1, 11:02 am, buda www...@pochta.ru wrote: On the form form1 is an element MyElement I attach to MyElement event handler MyElement.observe ( 'form: updated', function (e ){...}); then in the code generating the event form1.fire ( 'form: updated'); but the handler is not called for MyElement Why?- Скрыть цитируемый текст - - Показать цитируемый текст - -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
[Proto-Scripty] how to check is the function = Prototype.emptyFunction ?
var Obj = {}; Obj.meth = Prototype.emptyFunction; if (Obj.meth !== Prototype.emptyFunction) { alert('Not equal'); } why alert show everytime? -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] how to check is the function = Prototype.emptyFunction ?
On 1 February 2010 13:02, buda www...@pochta.ru wrote: var Obj = {}; Obj.meth = Prototype.emptyFunction; if (Obj.meth !== Prototype.emptyFunction) { alert('Not equal'); } why alert show everytime? -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. Why? The main advantage of the emptyFunction is that you can always call it without having to do a null/undefined test first. If you want to know if it has been assigned something, then don't assign the emptyFunction, leave it as null and then test if it is null. -- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 ZOPA : http://uk.zopa.com/member/RQuadling -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
[Proto-Scripty] Re: how to check is the function = Prototype.emptyFunction ?
the question is: how to check if a function is empty or have any code On Feb 1, 5:18 pm, Richard Quadling rquadl...@googlemail.com wrote: On 1 February 2010 13:02, buda www...@pochta.ru wrote: var Obj = {}; Obj.meth = Prototype.emptyFunction; if (Obj.meth !== Prototype.emptyFunction) { alert('Not equal'); } why alert show everytime? -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/prototype-scriptaculous?hl=en. Why? The main advantage of the emptyFunction is that you can always call it without having to do a null/undefined test first. If you want to know if it has been assigned something, then don't assign the emptyFunction, leave it as null and then test if it is null. -- - Richard Quadling Standing on the shoulders of some very clever giants! EE :http://www.experts-exchange.com/M_248814.html EE4Free :http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer :http://zend.com/zce.php?c=ZEND002498r=213474731 ZOPA :http://uk.zopa.com/member/RQuadling- Hide quoted text - - Show quoted text - -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] Re: how to check is the function = Prototype.emptyFunction ?
This is getting into dirty territory (or at least I'd feel so) but: var x = function(){}; var y = function(){ alert(foo); } x + ; function () { } y + ; function () { alert(foo); } Best, Alex On Mon, Feb 1, 2010 at 10:29 AM, buda www...@pochta.ru wrote: the question is: how to check if a function is empty or have any code On Feb 1, 5:18 pm, Richard Quadling rquadl...@googlemail.com wrote: On 1 February 2010 13:02, buda www...@pochta.ru wrote: var Obj = {}; Obj.meth = Prototype.emptyFunction; if (Obj.meth !== Prototype.emptyFunction) { alert('Not equal'); } why alert show everytime? -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.comprototype-scriptaculous%2bunsubscr...@googlegroups.com . For more options, visit this group athttp:// groups.google.com/group/prototype-scriptaculous?hl=en. Why? The main advantage of the emptyFunction is that you can always call it without having to do a null/undefined test first. If you want to know if it has been assigned something, then don't assign the emptyFunction, leave it as null and then test if it is null. -- - Richard Quadling Standing on the shoulders of some very clever giants! EE :http://www.experts-exchange.com/M_248814.html EE4Free :http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 ZOPA :http://uk.zopa.com/member/RQuadling- Hide quoted text - - Show quoted text - -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.comprototype-scriptaculous%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
[Proto-Scripty] Re: how to check is the function = Prototype.emptyFunction ?
it was simple sheme and it wasnt the stright code it must be like this var Obj = {}; ... Obj.meth = Prototype.emptyFunction; ... if (Obj.meth !== Prototype.emptyFunction) { alert('Not equal'); } does this irritates you? On Feb 1, 5:37 pm, Alex Wallace alexmlwall...@gmail.com wrote: This is getting into dirty territory (or at least I'd feel so) but: var x = function(){}; var y = function(){ alert(foo); } x + ; function () { } y + ; function () { alert(foo); } Best, Alex On Mon, Feb 1, 2010 at 10:29 AM, buda www...@pochta.ru wrote: the question is: how to check if a function is empty or have any code On Feb 1, 5:18 pm, Richard Quadling rquadl...@googlemail.com wrote: On 1 February 2010 13:02, buda www...@pochta.ru wrote: var Obj = {}; Obj.meth = Prototype.emptyFunction; if (Obj.meth !== Prototype.emptyFunction) { alert('Not equal'); } why alert show everytime? -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.comprototype-scriptaculous%2bunsubscr...@googlegroups.com . For more options, visit this group athttp:// groups.google.com/group/prototype-scriptaculous?hl=en. Why? The main advantage of the emptyFunction is that you can always call it without having to do a null/undefined test first. If you want to know if it has been assigned something, then don't assign the emptyFunction, leave it as null and then test if it is null. -- - Richard Quadling Standing on the shoulders of some very clever giants! EE :http://www.experts-exchange.com/M_248814.html EE4Free :http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 ZOPA :http://uk.zopa.com/member/RQuadling-Hide quoted text - - Show quoted text - -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.comprototype-scriptaculous%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.- Hide quoted text - - Show quoted text - -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] Re: how to check is the function = Prototype.emptyFunction ?
On 1 February 2010 15:44, buda www...@pochta.ru wrote: it was simple sheme and it wasnt the stright code it must be like this var Obj = {}; ... Obj.meth = Prototype.emptyFunction; ... if (Obj.meth !== Prototype.emptyFunction) { alert('Not equal'); } does this irritates you? On Feb 1, 5:37 pm, Alex Wallace alexmlwall...@gmail.com wrote: This is getting into dirty territory (or at least I'd feel so) but: var x = function(){}; var y = function(){ alert(foo); } x + ; function () { } y + ; function () { alert(foo); } Best, Alex On Mon, Feb 1, 2010 at 10:29 AM, buda www...@pochta.ru wrote: the question is: how to check if a function is empty or have any code On Feb 1, 5:18 pm, Richard Quadling rquadl...@googlemail.com wrote: On 1 February 2010 13:02, buda www...@pochta.ru wrote: var Obj = {}; Obj.meth = Prototype.emptyFunction; if (Obj.meth !== Prototype.emptyFunction) { alert('Not equal'); } why alert show everytime? -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.comprototype-scriptaculous%2bunsubscr...@googlegroups.com . For more options, visit this group athttp:// groups.google.com/group/prototype-scriptaculous?hl=en. Why? The main advantage of the emptyFunction is that you can always call it without having to do a null/undefined test first. If you want to know if it has been assigned something, then don't assign the emptyFunction, leave it as null and then test if it is null. -- - Richard Quadling Standing on the shoulders of some very clever giants! EE :http://www.experts-exchange.com/M_248814.html EE4Free :http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 ZOPA :http://uk.zopa.com/member/RQuadling-Hide quoted text - - Show quoted text - -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.comprototype-scriptaculous%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.- Hide quoted text - - Show quoted text - -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. Can you try ... alert((Obj.meth + '') == (Prototype.emptyFunction + '')); I'm getting True for when Obj.meth is the emptyFunction. -- - Richard Quadling Standing on the shoulders of some very clever giants! EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 ZOPA : http://uk.zopa.com/member/RQuadling -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
[Proto-Scripty] Re: how to check is the function = Prototype.emptyFunction ?
Richard, thanks it works On Feb 1, 6:12 pm, Richard Quadling rquadl...@googlemail.com wrote: On 1 February 2010 15:44, buda www...@pochta.ru wrote: it was simple sheme and it wasnt the stright code it must be like this var Obj = {}; ... Obj.meth = Prototype.emptyFunction; ... if (Obj.meth !== Prototype.emptyFunction) { alert('Not equal'); } does this irritates you? On Feb 1, 5:37 pm, Alex Wallace alexmlwall...@gmail.com wrote: This is getting into dirty territory (or at least I'd feel so) but: var x = function(){}; var y = function(){ alert(foo); } x + ; function () { } y + ; function () { alert(foo); } Best, Alex On Mon, Feb 1, 2010 at 10:29 AM, buda www...@pochta.ru wrote: the question is: how to check if a function is empty or have any code On Feb 1, 5:18 pm, Richard Quadling rquadl...@googlemail.com wrote: On 1 February 2010 13:02, buda www...@pochta.ru wrote: var Obj = {}; Obj.meth = Prototype.emptyFunction; if (Obj.meth !== Prototype.emptyFunction) { alert('Not equal'); } why alert show everytime? -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.comprototype-scriptaculous%2bunsubscr...@googlegroups.com . For more options, visit this group athttp:// groups.google.com/group/prototype-scriptaculous?hl=en. Why? The main advantage of the emptyFunction is that you can always call it without having to do a null/undefined test first. If you want to know if it has been assigned something, then don't assign the emptyFunction, leave it as null and then test if it is null. -- - Richard Quadling Standing on the shoulders of some very clever giants! EE :http://www.experts-exchange.com/M_248814.html EE4Free :http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498r=213474731 ZOPA :http://uk.zopa.com/member/RQuadling-Hidequoted text - - Show quoted text - -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.comprototype-scriptaculous%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.-Hide quoted text - - Show quoted text - -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/prototype-scriptaculous?hl=en. Can you try ... alert((Obj.meth + '') == (Prototype.emptyFunction + '')); I'm getting True for when Obj.meth is the emptyFunction. -- - Richard Quadling Standing on the shoulders of some very clever giants! EE :http://www.experts-exchange.com/M_248814.html EE4Free :http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer :http://zend.com/zce.php?c=ZEND002498r=213474731 ZOPA :http://uk.zopa.com/member/RQuadling- Hide quoted text - - Show quoted text - -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
[Proto-Scripty] Re: Multiple timed slideshows
If I have posted this in the wrong section, please could someone give me a heads up? Thanks On Jan 31, 8:16 pm, greyhound b...@greyhound-computing.com wrote: Hi everyone, I have been using the script library to create simple slide shows with no problem. I have recently been asked to create 3 slideshows which fade in one after the other, very similar to this example (which is in Flash)http://www.rockarchive.com/(see the top 3 discs that rotate) Does anyone know of any examples as to how this could be achieved? Thanks in advance. -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
RE: [Proto-Scripty] Re: Multiple timed slideshows
I am guessing that one of two things is true (maybe a little of both): 1) Though this is the correct forum, no response would mean that no one who reads this knows of boiler plate code. 2) I cannot imagine this is terribly different from code you've done before with small modifications. Is there some specific aspect of it that has you perplexed? -Original Message- From: prototype-scriptaculous@googlegroups.com [mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of greyhound Sent: Monday, February 01, 2010 4:06 PM To: Prototype script.aculo.us Subject: [Proto-Scripty] Re: Multiple timed slideshows If I have posted this in the wrong section, please could someone give me a heads up? Thanks On Jan 31, 8:16 pm, greyhound b...@greyhound-computing.com wrote: Hi everyone, I have been using the script library to create simple slide shows with no problem. I have recently been asked to create 3 slideshows which fade in one after the other, very similar to this example (which is in Flash)http://www.rockarchive.com/(see the top 3 discs that rotate) Does anyone know of any examples as to how this could be achieved? Thanks in advance. -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] Multiple timed slideshows
I don't know of any examples of what you are trying to achieve. However, it could be accomplished using PeriodicalExecuter and Effect.appear/Effect.fade. On Sun, Jan 31, 2010 at 12:16 PM, greyhound b...@greyhound-computing.comwrote: Hi everyone, I have been using the script library to create simple slide shows with no problem. I have recently been asked to create 3 slideshows which fade in one after the other, very similar to this example (which is in Flash) http://www.rockarchive.com/ (see the top 3 discs that rotate) Does anyone know of any examples as to how this could be achieved? Thanks in advance. -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.comprototype-scriptaculous%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
[Proto-Scripty] input label solution
Hi Guys, What are you using as an input label solution/plugin? Basically just some default texts in input fields based on labels. I looked at stereolabels, apparently it doesn't work on IE7 (and last updated in 2007). -- Cheers, R. -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
[Proto-Scripty] Problem with form fields that are arrays and .serialize()
Hello. I have a form that has elements input type=hidden name=add_article_link_url_list[1][link] id=add_article_link_url_list value=1 / input type=hidden name=add_article_link_desc_list[1][url] id=add_article_link_desc_list value=1 / input type=hidden name=add_article_link_url_list[2][link] id=add_article_link_url_list value=2 / input type=hidden name=add_article_link_desc_list[2][url] id=add_article_link_desc_list value=2 / I use Form.serialize('my_form',true); And all the other elements seem to be ok but the inputs that should be arrays are returned as: [add_article_link_url_list[1][link]] = 1 [add_article_link_desc_list[1][url]] = 1 [add_article_link_url_list[2][link]] = 2 [add_article_link_desc_list[2][url]] = 2 If my logic is correct should it return something like [add_article_link] = Object ( [1] = Object ( [link] = 1 [url] = 1 ) [2] = Object ( [link] = 2 [url] = 2 ) ) Witch format is prototype supposed to return the info in? If the first then how would I be able to get the result in the second format? And if I wanted to get add_article_link_url_list object to go over the items one by one how would I go about doing that? -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
[Proto-Scripty] Ajax Login and Firefox and Passwordmanager
Hello Everybody, i'm trying to use a loginform for an pure ajaxbased application. I managed to trick out the browsers by faking a submit on an empty iframe. This works fine in IE 7+8 In FF3 the passwordmanager stores the password but not the username. I tried nearly everything. Renaming, resorting etc Here is the formblock: form method=POST id=main_login_input name=main_login_input action= onSubmit=return true; target=fakeSubmitter input type=submit name=subbut id=subbut style=position: absolute; top: 300px / a href=javascript:sM_f.controller.doLogin('MAIN') onClick=$('subbut').click()Login/a input type=password id=loginPass name=loginPass value= onFocus=$(loginPass).value='' tabindex=2 / input type=text name=loginName id=loginName value= tabindex=1 / /form the href function is doing the Ajaxloginstuff and should not interfere the process. Another funny thing is, that FF stores the Username in the Formfieldsection. So entering the Username looks like the Passwordmanager is doing his stuff, but the password isn't filled (which is clearly). I'm going Mad about this Problem. Does anybody got an Idea for this? Ferion -- 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...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.