This solves my problem perfectly. Thank you
if ($('foo')) new Effect.Highlight('foo');
--~--~-~--~~~---~--~~
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
Do not call the Effect method with a non-existent element ID.
if ($('foo')) new Effect.Highlight('foo'); // or: $('foo').highlight();
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.