摘要:
概况 - 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 阅读全文
摘要:
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) { 阅读全文