Hi,
I am using vs2010 in windows7 32bit.
And i have below code and it does not work at all.
What should i do?
---------------------------
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/vbscript">
Sub SelectItem2()
MsgBox "test vbscript.", vbInformation, "OK"
End Sub
</script>
<script type="text/javascript">
function SelectItem() {
alert("test javascript");
}
</script>
</head>
<body>
<form id="form1" runat="server">
<asp:Button ID="Button1" runat="server" Text="Button" OnClientClick="vbscript:SelectItem2()" />
<asp:Button ID="Button2" runat="server" Text="Button22" OnClientClick="SelectItem();" />
</form>
</body>
</html>