How to allow popups when url loads if it is NOT a physical click by the user in js

congvt06

New Member
I want to allow popups when site loads and if the root cause of an event is NOT a physical click by the user, then it's getting blocked. any helpMy code:\[code\]$("#buttonBtn").on('click',function(){ openpopup('temp'+id)});$("#buttonBtn").trigger('click');\[/code\]Thanks in advance
 
Back
Top