posts - 535,comments - 60,views - 197万
12 2008 档案
Linux下用PYTHON查找同名进程
摘要:1.可执行程序 os.system('pgrep %s > %s' % (process, output)) pidfile = open("output", 'r') totalpid = len(pidfile.readlines()) pidfile.close() if totalpid == 0 : ... 阅读全文
posted @ 2008-12-26 09:56 凌度 阅读(2823) 评论(0) 推荐(0) 编辑
OnClientClick的window.confirm无效
摘要:默认写法: OnClientClick="return window.confirm('确认吗?')" 只要改成: OnClientClick="if(!window.confirm('确认吗?')){event.returnValue = false;}" 即可 阅读全文
posted @ 2008-12-19 09:37 凌度 阅读(660) 评论(1) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示