Javascript灯箱/彩盒弹出窗口 [英] Javascript lightbox/colorbox popup

查看:76
本文介绍了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[^]


这篇关于Javascript灯箱/彩盒弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆