function JM_wu(ob){ ob.style.display="none"; } function JM_you(ob){ ob.style.display=""; } function createForm(textN,number) { ...
<HTML><HEAD><META http-equiv='Content-Type' content='text/html; charset=gb2312'><TITLE>可输入的下拉框</TITLE&g...
通过javascript 实现 index.html <a href=# onclick="window.open('temp.html');return(false);">下载文件</a> ####### temp.html&...
{script} var ucook=document.cookie; var user=ucook.indexOF("ilooki="); if(user==-1) { var nowTime=new Date(); document.cookie="i...
事件源对象 event.srcElement.tagName event.srcElement.type 捕获释放 event.srcElement.setCapture(); event...
服务器端生成 <% if ..... then response.write "<iframe name=frame1 src=xxx.html width=0 height=0>" end if if ..... then re...
曾经为看别人写的杂乱代码而头痛吗?曾经为看BWindow代码而烦恼吗?曾经为减小JS体积和JS的可读性之间的矛盾而左右徘徊吗?最好的办法是有个代码格式化和代码压缩的程序,今天总算有了,它是纯JS编写的,当然也就是开源的了.由于写的仓促,还有些小BUG,请经常注...
看例子: 运行代码框<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional....
function overIt(){ var the_obj = event.srcElement; if(the_obj.tagName.toLowerCase() == "td"){ the_obj=the_obj.parent...
1、用鼠标拖动来改变大小 <SCRIPT LANGUAGE="JavaScript">function resizeImage(evt,obj){newX=evt.xnewY=evt.yobj.width=newXobj.height=newY...
'//判断内容里是不是包含这个分页标签 if instr(cinfo,"[NextPage]")>0 thenflag=1elseflag=0end if '//设置参数<script language="Javascript" >var T...