response.Write("<ul style=""display:block;"" id='ul_"&pid&"'>"&vbcrlf)
response.Write("<li><img src='images/open2.gif' name='dotImg' id='img_li_"&rs("deptid")&"' style='cursor:pointer'")
response.Write(" onclick=""LoadDept('"&rs("deptid")&"','subDept_"&rs("deptid")&"');""> ")
if t=1 then
'部门名称前面的复选框
response.Write("<input type='checkbox' name='chk_Dept_"&pid&"' id='chk_Dept_"&rs("deptid")&"'")
response.Write("onclick=""DeptchkAll(this,'"&rs("deptid")&"')"" value='"&rs("deptid")&"'/> "&vbcrlf)
response.Write("<label id='lbl_"&rs("deptid")&"'")
response.Write(" onclick=""changeStyle('"&rs("deptid")&"')"">"&vbcrlf)
response.Write(rs("Deptname")&"</label>"&vbcrlf)
response.Write("<div id='subDept_"&rs("deptid")&"' style='display:none;'></div></li>")'预留下级部门位置
response.Write("<li><img src='images/close2.gif'> "&vbcrlf)
response.Write("<input type='checkbox' name='chk_Dept_"&pid&"'")
response.Write(" onclick=""sum()"" value='"&rs("deptid")&"'/>"&vbcrlf)
response.Write("<label id='lbl_"&rs("deptid")&"'")
response.Write(" onclick=""changeStyle('"&rs("deptid")&"')""")
response.Write(">"&rs("Deptname")&"</label></li>"&vbcrlf)
response.Write("</ul>"&vbcrlf)
if session("userid")="" then
response.Write("<div style=color:red> 请重新登陆</div>")
response.Write("<div style=color:red> 没搜索到任何记录</div>")
解决方案 »
- 实在是很无奈,特来发帖求问。题:php使用ado访问access数据库?
- dede [field:title/]
- 有一个点评类网站(PHP+MYSQL)想对商家做二级域名服务,该怎么做?有愿意做的吗?
- php读xml问题
- 一个页面有两个menu,其中一个在frame中定义,怎样能点击一个按钮,只刷新frame中定义的页面
- 怎么样读取js文件取代数据库读取
- 正则,又见正则!来来来~~~~~~
- apache的配置问题
- 有人在win2003下面成功配置api模式的php么?
- linux主机能用PHP访问ACCESS数据库吗?
- 请各位路过的老师,帮我完善一下这个算法,谢谢了。
- flv文件头metadata中的数值怎么转为10进制的数啊
还是那句话, 语言只是语法糖, web架构始终不变。
自己深造一门语言, 公司要用到其它语言就当打杂, 查着手册来写程序,做多了熟练。一楼的语法可以翻译, 但自定义的方法php里没有, 也不能运行。