Hi
Relatively new to Prototype and I'm trying to use the Element#up /
down functions.
FF works great, but when I try it in IE it's not working as expected.
The code tries to go 'up' to the first 'tr', then 'down' to a specific
id and get the value:
<script>
function returnVendor(element) {
oRow = $(element).up("TR");
$('vendorName').value = oRow.down('#vendorName').value;
}
</script>
<html>
...
<tbody>
<tr>
...
<td><a href="#"
onclick="window.opener.returnVendor(this);window.close();">Select</a></
td>
...
</tr>
</tbody>
...
</html>
I saw a number of posts from a while ago that describe this issue and
was wondering if this has been resolved and I'm screwing something up,
or if there is an accepted work around.
thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---