Thanks for all your replies ...
Finally fixed the problem by looking at the generated html source file.
The problem was actually not with calling the div from the head of
layout.tml. Because after the page is rendered, all the elements are
available, so there is really no problem there. But for the radiogroup,
I used id instead of t:id for the radio buttons (<input type="radio"
id="aa" t:type="radio" t:value="literal:aa" onClick="show()"/>). From
the generated source, I can see that the id value I supplied was
replaced with radio_0.
And my js function was checking the id "aa" to set the style ...
Cheers,
Baofeng
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]