[Proto-Scripty] Extending a class

2009-11-13 Thread greg
Some kind soul out there has created a form unserialize method (below) that I would like to use. Being a newbie I can't figure out how to do that. My first kick at the can was Object.extend(Form.Methods, Form.Methods.unserialize); and to use it was: $(form1).unserialize(form1,data) but that

[Proto-Scripty] Re: prototype 1.6.1, IE6: Object doesn't support this property or method, typeof Element=unknown

2009-11-13 Thread ColinFine
On Nov 11, 2:55 pm, Carsten carsten.hae...@straightec.de wrote: Hi, I used prototype 1.5.0rc2 and the testing tool Selenium 1.0 in a web application. When I updated prototype to 1.6.1, everything still works in FF 3.0, FF 3.5, IE7, IE8, but in IE6 I get strange javascript error messages:

[Proto-Scripty] Re: Observing multipart/form-data oncomplete

2009-11-13 Thread Eric
Hi, You may try to observe the iframe's onload since after a form submission, the server is supposed to return a page. Of course, remember that this event will also be fired on the iframe's initial loading so you'll have a little extra plumbing to do. Another possibility would be for the server

[Proto-Scripty] Re: Prototype.jExtension

2009-11-13 Thread Eric
Hi Jacopo, On Nov 12, 4:29 pm, jacoz jacopo.nu...@gmail.com wrote: Hi Eric, thanks for your suggests! Well, now I answer all of your questions ;) - I named Element.ajaxRequest() in that way because by default it updates the element, but you can change the onSuccess function! OK, but if you

[Proto-Scripty] Re: formatting list item content in Ajax.Autocompleter

2009-11-13 Thread Ashwin
No modifications are needed to any of the scriptaculous code. The afterUpdateElement passes the arguments (text, li).to our callback method, so you can access the contents of li as is, using its innerHTML property. Sample code is as follows new Ajax.Autocompleter(inputTextBox, listContainerDIV,

[Proto-Scripty] Re: Prototype.jExtension

2009-11-13 Thread joe t.
i agree with a lot of Eric's points so far. There are some interesting, and possibly useful utility methods in this, but there are others that would needlessly bloat an already fairly bloated library (don't get me wrong, i still love it). The thing i would point out for #ajaxRequest is similar to

[Proto-Scripty] Re: Prototype.jExtension

2009-11-13 Thread jacoz
Hi Joe T., well, I've followed your suggests and so (I remember you the link http://tr.im/EBEP): - updated Array#compact - updated Element#ajaxRequest - added Element#ajaxUpdate So now you have an empty function when using #ajaxRequest, and the update function when using #ajaxUpdate! Is that

[Proto-Scripty] Ajax.Updater + Sortable.Create = nothing?

2009-11-13 Thread Ian R
Hey all! I have 4 lists on a page, all if which are filled by an Ajax.Updater call. I want them to be Sortable. I have this code in my document HEAD: Event.observe(window, 'load', function() { new Ajax.Updater('issue_order1', '/inc/modules/issue_order.php? col=issue_order1', {

[Proto-Scripty] How to detect who is click button - user or script like this btn.click()?

2009-11-13 Thread buda
I need to distinguish between inside the handler-pressed the button is pressed by user or by code like this: btnclick (btn). In the event no difference! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype

[Proto-Scripty] loop effects?

2009-11-13 Thread patrick
hi, Is the best way to loop an effect to just do: setInterval(function() { new Effect.pulsate('my_div', {duration: 1}) }, 1000); ? -patrick --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype