That sort of thing. But I'd use a form and add an observer on the
submit. This would allow for graceful degradation.
OK - thanks,
Geoff
--
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
I have the following snippet of code which illustrates a problem that
I'm having. I have an event listener within a class that I'd like to
have be self aware. I'd like it to be able to call another function
within the Class but I haven't found the right method to have it do
so. Please advise:
Hi,
If you really want `takeAction` to be a public property on the
instance, you typically use Function#bind for this; example in the
docs:
http://api.prototypejs.org/language/function/prototype/bind/
Basically, Function#bind creates a function that, when called, will
turn around and call the
Hi,
Oh, of course. Remember that HTML and JavaScript are not parsed by the
same parsers, and you can confuse the HTML parser when you put script
tags in *inline* JavaScript you've included within a script tag. What
happens if you change this:
'script type=text/javascript language=javascript
Hi Guillaume,
Just #bind is sufficient. You almost never need #bindAsEventListener:
http://proto-scripty.wikidot.com/prototype:tip-you-probably-don-t-need-bindaseventlistener
-- T.J. :-)
On Jul 21, 10:18 am, Guillaume Lepicard guillaume.lepic...@gmail.com
wrote:
Hi, you need to bind the
Hi TJ,
Thanks for pointing this !
When I first read the API doc (in the old format), explanations were not
that clear or i misunderstoos them ; but then looking in the new API doc,
it's much more clear ; and thanks for the
On 20 July 2010 23:37, Febo ilpuccio.f...@gmail.com wrote:
Thanks Richard and Ralph,
I'm studing the code but my feeling is that Effect.toggle can't handle
the Object which is always passed by Effect.multiple as last parameter
or let's say effect.
I don't know very much JavaScript, so I
On 21 July 2010 13:10, Richard Quadling rquadl...@gmail.com wrote:
On 20 July 2010 23:37, Febo ilpuccio.f...@gmail.com wrote:
Thanks Richard and Ralph,
I'm studing the code but my feeling is that Effect.toggle can't handle
the Object which is always passed by Effect.multiple as last parameter
Dear Richard,
amazing :-)
thanks a lot.
They should update the wiki with this tip.
On 21 Lug, 14:23, Richard Quadling rquadl...@gmail.com wrote:
On 21 July 2010 13:10, Richard Quadling rquadl...@gmail.com wrote:
On 20 July 2010 23:37, Febo ilpuccio.f...@gmail.com wrote:
Thanks Richard
I have a list of columns. Each column has a Template. The Templates
contain td#{stuff}/td
I create one long string doing something like:
str = ;
$A(columns).each( str = str + template.evaluate(obj); )
Then I do: row.update(str);
If I do it this way, the td's disappear. I print
I have a video editing app that I'm working on where you can add
captions to your movie up to a total number of purchased captions.
When you reach that limit, I disable the buttons that add more
captions by using Element.stopObserving and changing the button image
to reflect this disabled
11 matches
Mail list logo