vs2005 vb.net 如何嵌入js代码啊.
我试了网上的但是都没有成功.我想在 <script   runat=server>  </script> 中用js打开一个提示 "你已经成功提交 "的窗口,或一个页面.
------解决方案--------------------html: 
  <script language=javascript>  
  function MyAlert() 
 {  
 alert( "你已经成功提交 "); 
 } 
  </script>    
 ------------------- 
 server端: 
 Button1.Attributes.Add( "onclick ", "MyAlert() ");   
 ------------------------------------------ 
 c#中是这样调用的,vb.net没研究过.lz看看能不能得到启示!!