我正在使用模态对话框提示用户消息。它在 IE 中运行良好,但在 Firefox 中只显示第一行。我怎样才能解决这个问题。这就是我的消息的格式。
var modal = "<div id='modal_pop'><table><tr><td> "
+ "Please check you have a valid value to proceed.<br> Change the value if possible. Value should be valid to proceed further.<br>"
+ "Value should not be a number or a special case character<br>
Make changes and save the work before exiting it.<br> "
+ "Click logoff now or continute using the application.</td> </tr> </table></div>";
这是 jQuery 对话框:
var showPopup = function() {
$(modal).dialog({
buttons: {
"Test": function() {
//ABC
},
"Test1": function() {
//XYZ
}
},
modal: true,
width: 430,
height: 100,
resizable:'yes',
scroll:'no'
});
}