<script>str="<script"+">cc='bbb';</"+"script>";
document.write(str);</script>
document.write(str);</script>
解决方案 »
- 求帮助,我在用学习搞ajax分页,用到thinkphp框架
- 如何替换正则查找出的内容?
- 请问如何异步加载多个div?
- 能否改变用javascript的 alert函数弹出的对话框中的图标以及自定义编辑alert的标题(来自网页信息)
- 怎么样把一个body以参数的形式传过去
- 滚动文字IE正常,放入FF下就失效,为什么呢?
- 简单正则,大家帮帮忙,急用,谢谢了
- 如何控制在当前页面打开的子页面的坐标位置(在线等)我用的 是 window.open();
- 改变Select的下拉列表的高度,真的无法实现么?
- 今天终于升级了 -★- 高兴!
- 急,已知一个下拉选择控件a,怎么用Javascript找出它所属的表单名称?
- 在网页中如何调用外部应用程序???急!!!
{
strop="";
strop=strop+"<SCRIPT LANGUAGE=\"JavaScript\">";
strop=strop+"function document.onmousedown(){";
strop=strop+"var obj=event.srcElement;var pobj=obj.parentElement.id;";
strop=strop+"if(obj.className==\"span\"){for(i=0;i<4;i++){if(pobj==(\"btn\"+i)){document.all(\"m\"+i).style.backgroundColor=\"menu\"document.all(\"btn\"+i).style.height=20;document.all(\"tb\"+i).style.display='';}else{document.all(\"m\"+i).style.backgroundColor=\"white\"document.all(\"btn\"+i).style.height=18;document.all(\"tb\"+i).style.display='none';}}}"; strop=strop+"}"; strop=strop+"</SCRIPT>"; document.write(strop);}
document.write(str);</script>