That method looks like it works a little bit different. It looks at
all the ol tags and looks for a class of tree on those tags. The
prototype version doesn't take any parameters for tag name. It is
used like this:
var trees = document.getElementsByClassName('tree', parent_dom_element_or_id);
This is not a helpful statement and takes away from the usefulness of
this list. This is not a war worth fighting. Everyone has their
preference. Zealots are stupid and irrational. Please take this
discussion to another list.
Thanks,
Nicholas
On 5/26/06, Ryan Gahl <[EMAIL PROTECTED]> wrote:
y
is not referring to what you think it is.
Greg
> -Original Message-
> From: [EMAIL PROTECTED]
[mailto:rails-spinoffs-
> [EMAIL PROTECTED] On Behalf Of Nicholas Schlueter
> Sent: Monday, May 22, 2006 4:33 PM
> To: rails-spinoffs@lists.rubyonrails.org
> Subject: Re: [Rails
I haven't tested this, but I believe the beforeStart function takes a
parameter of the effect.
So your beforeStart function should look like:
beforeStart: function(effect) {
if (menu.currentHeader == element) {
effect.cancel();
}
}
hope this helps
Nicholas
On 5/22/06, Brice Burgess
I think the problem is that in your onComplete method you are only
expecting one parameter. The parameter is the request which would be
the same as the return value from you "new Ajax.Request" call.
Instead I think you want the response.
So the method should be changed to:
onComplete: func
This is just my opinion, but after looking at the code I would say
that Form.element has a lot more to do with the retrieving data
(serialize, getValue) and Field has a lot more to do with the state of
the field (clear, focus, select, etc). I guess in the end it doesn't
really matter because they
I tested http://demo.script.aculo.us/ajax/autocompleter with FF
1.5.0.3 and it worked fine. Is this the page you are getting errors
on?
On 5/6/06, Paolo Asioli <[EMAIL PROTECTED]> wrote:
Hi, Ed !
No need to copy code, if you go to
http://script.aculo.us/
with IE you see the autocomplete fi
http://encytemedia.com/event-selectors/
On 5/1/06, Jeremy Kitchen <[EMAIL PROTECTED]> wrote:
I just ran across this bug when trying to re-create Ben Nolan's behaviour.js
with prototype and was wondering if anyone had fixed it before I went
re-inventing the wheel :)
Thanks!
-Jeremy
--
Jeremy K
The $F(id) function returns the value of the form field where the id
is the id of the form field.
example
mark up
javascript
var fooValue = $F('foo_id');
Now fooValue == "123" should return true.
It does different things depending on what type of form field you are
asking for the value of (i.e