Use force ID:
<f:subview id="subview">
<t:div id="myid" forceId="true" />
<script>
// <![CDATA[
var element = document.getElementById("myid")
// ]]>
</script>
</f:subview>
-Andrew
On 6/19/06, Kevin <[EMAIL PROTECTED]> wrote:
Hello,
Using a <f:subview/> within my layout like below:
<t:div id="ID_one">
<f:subview id="ID_two">
<t:div id="someId">
some content...
</t:div>
</f:subview>
</t:div>
results in an HTML id of "ID_one:ID_two".
I seem unable to style this with CSS using something like:
#ID_one:ID_two{}
or
#ID_two{}
I can style it with a class but I actually need to style it and access
with JavaScript. Does anyone have any suggestions?
Thanks in advance,
Kevin