我正在尝试使用video.js和谷歌的IMA插件[videojs-ima][1]来实现视频广告的显示
在中包含以下部分:
// Initialize the ad container when the video player is clicked, but only the
// first time it's clicked.
var startEvent = 'click';
if (navigator.userAgent.match(/iPhone/i) ||
navigator.userAgent.match(/iPad/i) ||
navig
else if (Result == 1)
{
ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "Test", "return confirm('Are you sure you want to delete? This action cannot be undone.')", true);
FSI.DeleteINsertData(ID.ToString(), No.ToString());
}
我有
第一次点击不起作用,但之后的每一次点击都能完美地完成。是我做错了什么,还是网站出了问题?(顺便说一句,我使用的是JS菲德尔)
$("a").click(function () {
var x = document.getElementsByTagName("a");
$(x).click(function () {
var y = this.parentElement.parentElement;
$(y).hide("slide", {
direction: "ri