Javascript灯箱/彩盒弹出窗口

问题描述:

我有这个javascrip



I have this javascrip

if (searchResults.length == 0) {alert("Not Found!")}else{
var resultValue = JSON.stringify(searchResults);
alert(searchResults);




现在
而不是alert(searchResults);我想在自定义弹出窗口中显示searchresults的值。并没有警觉。我也想格式化它显示的方式





我不知道如何实现这个。



这个按钮可以调用这个javascript





now instead of alert(searchResults); I want to display the value of searchresults in a customized popup windows. and not alert. I also want to format the way its displayed


I do not know how to implement this.

this is the button which does calls this javascript






我的尝试:



我尝试实施彩盒但徒劳无功。

试试这些

ALERTIFY JS [ ^ ]

jquery-confirm.js |多功能提醒&确认 [ ^ ]
try these
ALERTIFY JS[^]
jquery-confirm.js | The multipurpose alert & confirm[^]