知道为什么新的 Firefox(最新版本)不会在 JQModal 上显示滚动条吗?在其他所有浏览器中运行良好:
像这样调用:
$('#HTMLPreview').click(function(){
var a=document.getElementById("txtStudentWriting").value;
b=a.replace(/[\r\n]/g, "<p><p><p>");
$.modal(b,{maxWidth:500,maxHeight:600,minHeight:500,closeHTML:'<a href="#">Close</a>'});
return false;
});
包括:<`script type="text/javascript" src="../include/js/jquery.simplemodal-1.3.5.min.js">