button click event lost due to the alert box in text box onblur event
问题 I have created a simple web form, containing one text box and one button. I have captured the onblur event of the text box. <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> <script language="javascript" type="text/javascript"> function onTextBoxBlur() { alert("On blur"); return true; } </script> </head> <body> <form id="form1" runat="server"> <asp:TextBox ID="TextBox1" runat="server" onblur="onTextBoxBlur();"></asp:TextBox> <asp:Button ID=