I have implemented countdown timer using js
here while timer is 0:00 then container will hide and again I hit this JS with set container visible true that time I facing this issue
Hi Preeti Mahajan,
I think issue in line No 10.
your element "id" is not exists in dom at time.
I think you hide the element using inside if block in widget tree.
try to make use of visible property true/false of element based on the condition.
Not to inject or remove html element using if block in widget tree.