Hi,
I have problem to get the control id and set its visible to true/false(mean
show/hide).
here is my code:
<%@ Control Language="vb" AutoEventWireup ="false"
Codebehind="ucN avbar.ascx.vb" Inherits="UserI nterfaceDesign. ucNavbar"
TargetSchema="h ttp://schemas.microso ft.com/intellisense/ie5" %>
<A id="hpL" href="" DESIGNTIMEDRAGD ROP="59" runat="server"
onmouseover="wi ndow.status='<I >text to display in status bar</I>'; return
true;">
Make Request</A>
<asp:linkbutt on id="lbtnSupport " runat="server"
Width="104px">S upport</asp:linkbutton>
<asp:linkbutt on id="lbtnLogoff " runat="server"> Log off</asp:linkbutton>
<DIV id="divNavmaker eq" style="VISIBILI TY: visible; WIDTH: 144px; POSITION:
relative; HEIGHT: 100px; BACKGROUND-COLOR: aqua"
runat="server" ms_positioning= "GridLayout"><I NPUT style="Z-INDEX: 101;
LEFT: 8px; POSITION: absolute; TOP: 8px" type="button" value="Yahoo"></DIV>
<script type="text/javascript">
function fn_mouseoverjav ascript(){
alert(document. getElementById( 'divNavmakereq' );
}
</script>
in the javascript function, i try to show the control name, the error
message prompt:
object expected. Actually my concern is to show / hide the divNavmakereq
control.
have any ideas?
I already out of ideas.
thank you in advance.
best regards,
GL