<%@ Control Language="vb" 
            AutoEventWireup="true" 
            CodeBehind="ucNameTest.ascx.vb" 
            Inherits="SFAnthemAJAXExample.ucNameTest" %>
            
            
            <script type="text/javascript">
                function ButtonClicked()
                {
                    var txtbox = document.getElementByID("txtName");
                    alert("You entered: " + txtbox.value);
                (
            </script>

<div id="divBuyButton">

    <asp:TextBox ID="txtName" 
                 runat="server">
    </asp:TextBox>

    <input id="btnDisplay" 
           type="button" 
           value="Display Name" 
           runat="server"/>
</div>
       
       
