空间无限,追求无限...

导航

随笔分类 -  JavaScript

javascript获取难以索引的对象
摘要:1.EvalfunctionsimpleSwap(){varthe_image=prompt("changeparrotorcheese","");varthe_image_name="window.document."+the_image;varthe_image_object=eval(the_image_name);the_image_object.src="ant.gif";}2.名称索引... 阅读全文

posted @ 2006-10-22 20:28 笨鸟先飞_淡泊人生 阅读(315) 评论(1) 推荐(0)

JavaScript二级联动下拉菜单
摘要:<html><head><title>test</title><scriptlanguage="javascript">//varselect1_len=document.frm.s1.options.length;varselect2=newArray(4);for(i=0;i<4;i++){select2[i]=newArray... 阅读全文

posted @ 2006-10-18 21:20 笨鸟先飞_淡泊人生 阅读(3555) 评论(2) 推荐(0)