
Matt White was writing <A target="_blank" href="http://www.11tmr.com/11tmr.nsf/d6plinks/MWHE-7L2P27">client side Javascript in an XPage</A>. But the same simple function tripped him up a couple of times. He provides some code samples to help you avoid the same issue.