【发布时间】:2011-10-26 06:10:37
【问题描述】:
我正在使用论坛脚本(简单机器论坛) 它正在使用这种 javascript 确认消息:
<a href="http://domain.net/index.php?action=deletemsg;topic=1.0;msg=1;c6c7a67=f9e1fd867513be56e5aaaf710d5f29f7" onclick="return confirm('Remove this message?');">Remove</a>
而我想使用 jgrowl 来代替...类似于:
<a href="http://domain.net/index.php?action=deletemsg;topic=1.0;msg=1;c6c7a67=f9e1fd867513be56e5aaaf710d5f29f7" onclick="$.jGrowl('Remove this message?', { header: 'Confirmation', sticky: true });"/>Remove</a>
但是...如何使用 jgrowl 实现 true/false javascript 返回? 可以只用一行完成吗?
最好的问候! 卢西亚诺
【问题讨论】:
标签: javascript jquery dialog confirmation jgrowl