
JavaScript
文章平均质量分 89
iteye_17329
这个作者很懒,什么都没留下…
展开
-
HTML文件中使用Java程序
HTML文件中使用Java程序:简而言之,在HTML文件中引入java应用程序,并通过javascript调用其方法。 一、 运行环境1.JAVA_HOME、CLASSPATH、PATH配置正确2.浏览器支持二、javascript调用方式三、运行效果package applet;import java.applet.Applet;publi...2011-09-27 15:00:09 · 1525 阅读 · 2 评论 -
跨frame操作dom元素
今天,一群友问到跨frame操作dom元素的问题。于是写了个demo,在此发表在博客里面,供其他同道中人参考!创建child.html内容如下:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html x...2012-04-09 16:29:20 · 192 阅读 · 0 评论 -
node.js入门
node.js官网:http://nodejs.org/参考资料: http://www.cnblogs.com/rubylouvre/archive/2010/07/15/1778403.html http://blog.youkuaiyun.com/kubalila/article/details/7267401 ht...2012-05-08 12:34:20 · 114 阅读 · 0 评论 -
常见web服务器错误
参考地址:http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.5 10 Status Code Definitions Each Status-Code is described below, including a description of which method(s) it ...原创 2012-05-17 11:46:12 · 1069 阅读 · 0 评论 -
javascript弹出模态窗体
function openwindow(url,name,iWidth,iHeight){ //获得窗口的垂直位置 var iTop = (window.screen.availHeight-30-iHeight)/2; //获得窗口的水平位置 var iLeft = (window.screen.availWidth-10-iWidth)...原创 2014-01-27 16:42:10 · 212 阅读 · 0 评论 -
Json对象遍历
var json = {"id":"123","name":"tom","sex":"male"}; 1.for循环遍历for(var key in json){ alert(key+":"+json[key]); } 2.利用jQuery遍历$.each(json ,function(idx,item){ alert(2014-06-16 10:58:53 · 246 阅读 · 0 评论 -
javascript Json和String互转
var jsonText = "{\"id\":\"123\",\"name\":\"tom\",\"sex\":\"male\"}";var jsonObj = {"id":"123","name":"tom","sex":"male"2014-06-16 11:07:53 · 283 阅读 · 0 评论