Why? Click event works programmatically, but not with mouse.

ساخت وبلاگ
It's difficult to show you the all the code but maybe you know something about it.
I create a click event like shown below:
If after addEventListener I add divSel.click() the click works.
BUT if I click the button with the mouse it does not work.

Someone please tell my why????

divDataSel = document.createElement("div"); divBlock.appendChild(divDataSel); divSel = document.createElement("div"); divSel.className = "Button1aSm"; if(oBlockRec.Data.nChtData == 1)...
Code (markup):
Why? Click event works programmatically, but not with mouse. WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 151 تاريخ : شنبه 7 خرداد 1401 ساعت: 7:41