Hi,
I have a user control that has a series of web controls in it.
I need to access the web controls from the parent page via javascript. No, I
have done this in the past but know I am having problems. It just will not
find the obj on the javascript side.
here is some code (HTML output):
<span id="ucUntouched Items_spUntouch ed" style="CURSOR:h and;COLOR:#0033 99"
onClick="toggle BB(ucUntouchedI tems_divUntouch ed,
ucUntouchedItem s_imgUntouched, ucUntouchedItem s_htbUntouched) ">
<img id="ucUntouched Items_imgUntouc hed"
src="/TicketSystemV2/images/collapse.gif" border="0"
style="border-style:None;heig ht:16px;width:1 6px;" />
<span id="ucUntouched Items_lbGridNam e">Untouched Items (4)</span><br>
</span>
<input id="ucUntouched Items_htbUntouc hed" type="hidden" />
<div id="ucUntouched Items_divUntouc hed" style="DISPLAY: none">
If I run at the buttom of the page:
<script language=javasc ript>
alert(ucUntouch edItems_htbUnto uched);
alert(ucUntouch edItems_imgUnto uched);
alert(ucUntouch edItems_divUnto uched);
</script>
I get Errors on the first 2.
Any ideas why? I am missing something???