rainbowzc

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: :: :: 管理 ::

2006年12月25日

摘要: 1.第一种方式strFun = obj.SetUserName(userName);strFun = "obj.SetUserName('"+userName+"');"+"/r/n";strFun = "obj.SetUserName('"+userName+"');/r/n";2.第二中方式strFun = obj.SetUserName(userName);strFun = "obj.SetUserName(/""+userNa 阅读全文
posted @ 2006-12-25 10:36 ct 阅读(270) 评论(0) 推荐(0)

摘要: 最近遇到在网页里调用activex的方法和属性,发现和网上说的不同:<input id="Button1" type="button" value="button" onclick="return Button1_onclick()" /> <object id="tvs" width="600" height="400" type="application/x-oleobject" classid="cls 阅读全文
posted @ 2006-12-25 09:55 ct 阅读(385) 评论(0) 推荐(0)

摘要: 1创建脚本块1<scriptlanguage=”JavaScript”>2 JavaScriptcodegoeshere3</script>2隐藏脚本代码1<scriptlanguage=”JavaScript”>2<!--3 document.write(“Hello”);4//-->5</script>在不支持JavaScript的浏览器中将不执行相关代码3浏览器不支持的时候显示1<noscript>2 Hellotothenon-JavaScriptbrowser.3</noscript>4链接外部脚本文 阅读全文
posted @ 2006-12-25 00:30 ct 阅读(170) 评论(0) 推荐(0)