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 دنبال می‌کنید

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

صفحه بندی