How to popup window from item's label or text
I know that I can popup a window from a button by putting into the URL target code such as:
javascript:popupURL('http://www.google.com')
However, I would like to popup a window from the item's label, which is text, and therefore does not have a URL target field to put the code into.
I have tried putting into the item's HTML Form Element Attributes field ths code:
onclick="javascript:popupURL('http://www.google.com')"
But have had no success. Can someone help me with this?
Thanks,
Maggie