09 2006 档案
摘要:JAVA是从JDK1.4才开始支持断言的(添加了关键字assert)选择菜单"Windows"->"Perferences",在对话框中找到"Java"->"Complier"->"Compliance and Classfiles",把"Use default compliance settin...
阅读全文
摘要:如下:a = trr.getElementsByTagName("A");a[0].removeAttribute("href");
阅读全文
摘要:在javascript中,有时候需要动态改变onclick事件,可以这么做:var newA=document.createElement('A');newA.onclick=function(){ alert(1);}
阅读全文