
javascript
文章平均质量分 68
wenwennihao
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
window.location.href解决target问题
/* window.open()是可以在一个网站上打开另外的一个网站的地址 而window.location()是只能在一个网站中打开本网站的网页 */ 3个页面 1 index.html Html代码 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "htt...原创 2013-01-25 11:47:29 · 1527 阅读 · 0 评论 -
showModalDialog
弹出框的使用 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/ht原创 2013-10-10 22:35:39 · 106 阅读 · 0 评论 -
弹出层居中
<html xmlns="http://www.w3.org/1999/xhtml"><head> <title></title> <script type="text/javascript"> var x0 = 0, y0 = 0, x1 = 0, y1 = 0; var moveab原创 2013-10-11 22:26:17 · 200 阅读 · 0 评论 -
元素动态创建
创建select var select = document.createElement("select"); elect.options[0] = new Option("加载项1", "value1"); select.options[1] = new Option("加载项2", "value2"); select.size = "2"; testDiv.appendChil原创 2013-10-19 18:35:49 · 121 阅读 · 0 评论 -
json之间的转换
public static void wirteToJson(String fileUrl,String ss) { try { FileOutputStream fos=new FileOutputStream(new File(fileUrl)); byte [] buf=new byte[1024]; int len=0; try { fos.write(ss.g...原创 2013-10-23 16:03:13 · 139 阅读 · 0 评论