╰☆把酒言欢
                               聪明出于勤奋,天才在于积累.
摘要: 概况 - Sample1.html <html><head><title>实例代码 - 使用JavaScript和DOM创建HTML表格</title><script>function start() {//获取body标签var mybody = document.getElementsByTagName("body")[0]; // 创建一个<table>元素和一个<tbody>元素mytable = document.createElement("table");m 阅读全文
posted @ 2013-01-06 10:49 把酒言欢 阅读(451) 评论(0) 推荐(0) 编辑
摘要: 1.要想用 json 类型,可在 Controller .xml 用 type="jsonjava" type="none" 返回数据放于 request 中$jq.ajax({type:"POST",url:"<@ofbizUrl>"+u+"</@ofbizUrl>?productId=" + id + "&status="+status,dataType: "json",success: function(data) { 阅读全文
posted @ 2013-01-06 09:52 把酒言欢 阅读(1996) 评论(0) 推荐(0) 编辑