+ 1
[Solved] Why the gif isn't loading on OK click?
3 Réponses
+ 1
Cut line 97 and paste just below line 98 for expected result.
💡 img tag is an open tag . </img> is not required.
+ 1
When ok is clicked function sets "ruleBox.style.display = "none"; " which is the parent element for image as well . Doesn't matters if you set image display to block or none if parent element , ie.. ruleBox has display set to none
+ 1
Thanks Divya Mohan and Abhay