使用CSS自定义单选按钮时,无法单击单选按钮点

时间:2019-06-10 09:32:58

标签: javascript jquery bootstrap-4

我也为此创建了一个jS小提琴

https://jsfiddle.net/ConnectRohitAt/L7c4vsk0/1/

当我单击除点以外的区域时,效果很好。

I did tried to add click event on the DOT but this also didn't worked.
[enter image description here][1]

1 个答案:

答案 0 :(得分:-1)

您的小提琴在控制台中引发错误。您的JavaScript可能未完全加载:

register.js:915 Uncaught TypeError: Cannot read property 'innerHTML' of undefined
    at BindQuizQuestions (register.js:915)
    at HTMLDocument.<anonymous> (register.js:21)
    at j (jquery-1.11.2.min.js:2)
    at Object.fireWith [as resolveWith] (jquery-1.11.2.min.js:2)
    at Function.ready (jquery-1.11.2.min.js:2)
    at HTMLDocument.J (jquery-1.11.2.min.js:2)

尝试解决此错误,看看是否仍然有问题。