日期:2014-05-16 浏览次数:20727 次
function showdiv(t,w,h,url){
//弹出添加等窗口
var dialog = art.dialog({id: 'N3690',title: t,width: w,height: h,lock: true,background: '#333',opacity: 0.40});
$.ajax({
url: url,
success: function (data) {
dialog.content(data);
},
cache: false
});
}
onClick="showdiv('添加标签',400,200,'tag.do?method=enterTag&cid=${item.cid}')"
<div class="updiv">
<form id="form2" name="form2" method="post" action="tag.do?method=saveTag">
<input type="hidden" name="cid" value="${mContentSubmit.cid}">
<input type="hidden" name="tid" value="${tagModel.tid}">
<table width="400" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="87" height="44" align="right">标签:</td>
<td width="313"><label for="textarea"></label>
<textarea name="tagText" id="textarea" cols="35" rows="5" class="textarea-text" required >${tagModel.tagText}</textarea></td>
</tr>
<tr>
<td align="right" valign="top" > </td>
<td><input name="button" type="button" class="button" id="button" onclick="save()" value="添加" />
<input name="button" type="button" class="button" id="button" value="取消" onclick="art.dialog.close();"/></td>
</tr>
</table>
</form>
</div>
</body>
</html>