Closed
Description
Hi,
I'm experiencing a problem in Prototype 1.7.3 with the .down()
method, when called without any parameter.
Given this simple HTML for example:
<div id="test">
<ul>
<li>
</ul>
</div>
And this Javascript:
$('test').down(); // Returns: null
$('test').down(0); // Returns: <ul>
This does break a lot of code (including the Scriptaculous Autocompleter for example)... Is this the desired behaviour?
Best regards,
Leo
Metadata
Metadata
Assignees
Labels
No labels