[Proto-Scripty] Re: Problem with double click

2009-01-09 Thread T.J. Crowder
Hi, Can you show up your code calling findAll? It sounds like you're not passing in a function as the first parameter. -- T.J. Crowder tj / crowder software / com Independent Software Engineer, consulting services available On Jan 9, 11:56 am, Othon Reyes othon.re...@gmail.com wrote: hi

[Proto-Scripty] Re: Event.observe for mutation events

2009-01-09 Thread MalContented
That did the trick. Thank you very much Walter. Mal --~--~-~--~~~---~--~~ 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-scriptaculous@googlegroups.com

[Proto-Scripty] Re: Problem with double click

2009-01-09 Thread Walter Lee Davis
On Jan 9, 2009, at 6:56 AM, Othon Reyes wrote: Object doesn't support this property or method in line 651 of prototype.js This particular error usually means that the object in question has not yet been extended by Prototype. Try wrapping the reference to it in the dollar function

[Proto-Scripty] Re: Problem with double click

2009-01-09 Thread Matt Foster
If you're traversing a collection of elements, then the first parameter in your findAll method is going to be an element. Bind is a property of a Function, not an Element, so that it would be failing on this attempt of execution. http://prototypejs.org/api/function/bind --

[Proto-Scripty] Re: Ajax.Updated DIV seems to still have the same innerHTML...

2009-01-09 Thread Matt Foster
You can pass it an element reference, however your reference of this isn't an element. It may have assumed element methods via Object.extend in your constructor but the reference is still to a function, not a DOM reference. -- http://positionabsolute.net On Jan 8, 12:04 pm, Ian R

[Proto-Scripty] using event.observe to create autocompleter on the fly

2009-01-09 Thread billyg73
Hi there, I'm creating an application where I generate some HTML input fields on the fly using PHP/JS, based on the amount of data stored in the user's session. I'm wanting to listen for the onchange event for various input fields each with unique ID values so that I can create an

[Proto-Scripty] Droppables within Droppables

2009-01-09 Thread Walter Lee Davis
I may need to re-think my structure for this, but hopefully not. I have a test page here: http://rt.walterdavisstudio.com/cart This will become the interface for a tool to build a custom DVD out of numerous video clips and still frames. I have everything working the way I want to with

[Proto-Scripty] Re: Ajax.Updated DIV seems to still have the same innerHTML...

2009-01-09 Thread Ian R
Thanks everybody for your help. For future reference to other people, everything I needed to know (so far) is on the How Prototype extends the DOM page at http://www.prototypejs.org/learn/extensions. I'd already read it several times but for some reason I kept missing the point. This may be

[Proto-Scripty] Removing option from form bean

2009-01-09 Thread cyiam
My form bean list has the following values: select id=features name=features multiple option value=17 id=17Some cool feature/option option value=19 id=19Another cool feature/option option value=20 id=20Awesome feature/option /select button id=removeFeature name=removeFeature value=Remove

[Proto-Scripty] Re: Removing option from form bean

2009-01-09 Thread kangax
On Jan 9, 7:04 pm, cyiam shintamann...@wellsfargo.com wrote: [...] HELP! The javascript looks as below: $('removeFeature').observe('click',function(){                 var deletedFeatures = $A($F('features'));                 deletedFeatures.each(                        

[Proto-Scripty] Re: Problem with double click

2009-01-09 Thread Othon Reyes Sanchez
No, dojo was not the problem. The problem is fixed, thank you guys. The table allows to define an object called events where every property represents an event and the value of every property is the function that will be called when the event is triggerd. Example ...