擅长:python、mysql、java
<p>谢谢你的帮助!!!在</p>
<p>我会这样做的)</p>
<p>以下是代码,以防需要时有人提供)</p>
<p>脚本:</p>
<pre><code><script>
function PopUpShow4(id){
document.getElementById('id_get_post_id').value=id;
$("#popup4").show();
$(document).keyup(function(ev){
if(ev.keyCode == 27)
$("#popup4").hide();
});
}
function PopUpHide4(){
$("#popup4").hide();
}
</script>
</code></pre>
<p>模式窗口:</p>
^{pr2}$
<p>调用模式窗口:</p>
<pre><code><div style="width:5%; float:right;">
<div id="b-container">
<a href="javascript:PopUpShow4({{ item.id }})"><div class="photo" data-title="Remove"><input type="image" src="{{ STATIC_URL }}images/delete.png" border="0" width="17" height="17" ></div></a>
</div>
</div>
</code></pre>