[Proto-Scripty] Re: .select on a combo

2009-09-20 Thread jacknife
hi, have you tried to use the Element class methods readAttribute/ writeAttribute instead that ordinary getAttribute/setAttribute? i recently experienced some issues using getAttribute to retrieve setted parameters. Federico On Sep 18, 7:33 pm, speedpac...@gmail.com speedpac...@gmail.com

[Proto-Scripty] Re: changing value of select and implement the events of observer

2010-06-14 Thread jacknife
Hi, seems to me you need some way to fire the change event after the index has been updated, isn't it? take a look to Event.simulate, an extension to fire native events. http://github.com/kangax/protolicious/blob/5b56fdafcd7d7662c9d648534225039b2e78e371/event.simulate.js Federico -- You

[Proto-Scripty] Re: Can't seem to get AJAX form validation to work in conjunction with Codeigniter

2010-06-16 Thread jacknife
To continue form submitting you can directly call the submit after the ajax validation. a quick example could be: [code] var form = $('form_id'); form.observe('submit', function(event){ event.stop(); new Ajax.Request(validition_url, { onSuccess :

[Proto-Scripty] Re: Can't seem to get AJAX form validation to work in conjunction with Codeigniter

2010-06-16 Thread jacknife
ops! i have been a little too slow in typing :) On Jun 17, 6:03 am, jacknife federico.bore...@gmail.com wrote: To continue form submitting you can directly call the submit after the ajax validation. a quick example could be: [code] var form = $('form_id'); form.observe('submit

[Proto-Scripty] stopping and restarting a Form Observer

2010-10-09 Thread jacknife
Hi, i would like to do this for my form observer listening all over the page. I need to stop listening when i'm doing some particular action (as updating on-the-fly a dropdown list where i need different logic to be executed) and restart the observer after have completed the related stuff.