gpt4 book ai didi

javascript - 使用不同的查询字符串重新打开相同的 Colorbox

转载 作者:行者123 更新时间:2023-12-04 19:50:23 27 4
gpt4 key购买 nike

我必须在 colorbox 中加载相同的 html 页面,但使用不同的查询字符串参数。除 JQuery 外,一切正常。即某些特定 div 的计数,我正在使用 $('div').length;它返回错误的输出,即最后打开的颜色框和当前打开的颜色框的总和。

最佳答案

当您在 Q/A 站点寻求帮助时,您必须更加具体。即使您的英语不完美,有关您面临的问题的更多信息也将帮助我们帮助您。我将尽力理解您的要求:

I have to load same html page that uses a colorbox but with different Query string parameters.

您使用的是什么彩盒库、工具或脚本?

Everything is working fine except JQuery.

我假设您遇到了 jQuery 命令的问题。

The count of some specific divs, I am using $('div').length; and it is returning the wrong output

预期的输出是什么?

which is the sum of last opened colorbox and currently opened.

我不确定你所说的是什么意思。

关于javascript - 使用不同的查询字符串重新打开相同的 Colorbox,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29386842/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com