On Thu, Nov 13, 2008 at 4:17 PM, AlannY <[EMAIL PROTECTED]> wrote:
>
> Hi there. I'm working on simple script that must work on all browsers,
> which prototype supports.
>
> There are code:
> var edit = node.select('a#edit')[0];
> if( edit ) {
> ...
> }
What's node?
How to fix it?
$(node).select(...) should probably fix it for you
Cheers
Gabriel Gilini
www.usosim.com.br
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---