I think this is quite basic.
If I want to run some RJS effects on an element, but I'm not sure that
the element will be there or not, how do I stop an error occurring?
gives an error alert if there is no element with the id of 'test'.
I've got it to work by using:
page['test'].visual_effect :highlight unless page['test'].empty?
but that doesn't seem the best way to do it. What is the recommended
way to do this?