Hi all,
i need to do like ,when i place the mouse pointer on a textbox(i think its onmouseover event.not sure)
it should display or popup a small message which provides information about the format of values need to be entered in that textbox.please provide me like how can i do, is that in javascript.

Thanks in advance

Naresh

Please try this one.

<script language="javascript">
    var p=window.createPopup();
    var pbody=p.document.body;
    function show_popup()    
    {       
        pbody.style.backgroundColor="lime"
        pbody.style.border="solid black 1px"
        pbody.innerHTML="Enter value from 01 to 10."
        p.show(150,150,200,50,document.body)
    }

    function hide_popup()
    {
        p.hide();
    }
    </script>

<form id="form1" runat="server">
    <div>
        <asp:TextBox ID="TextBox1" runat="server" onmouseover="show_popup()" onmouseout="hide_popup()"></asp:TextBox>
    </div>
    </form>

Edited 3 Years Ago by pyTony: fixed formatting

wow.....,
i was been searching for last one day and i was not able to find easy solution &what ever i found were some third party,complicated code.
finally i adjusted to use textbox properties "ToolTip" which is not that much effective...........

but the solution wat you gave is pretty easy thanks a lot..........

Naresh

Edited 3 Years Ago by pyTony: fixed formatting (removed unnecessary quote)

This question has already been answered. Start a new discussion instead.