how do i replicate the onclick event present in a div? [closed]

https://www.sandos.com/special-offers this is website for reference this is the div in question <span class="base__BFInputPlaceHolder-sc-3hhs49-7 cgtpHC">Going … Read more how do i replicate the onclick event present in a div? [closed]

https://www.sandos.com/special-offers this is website for reference

this is the div in question <span class="base__BFInputPlaceHolder-sc-3hhs49-7 cgtpHC">Going to...</span>

`

code that I tried $('destinations__BFDestMenu-pia0lx-2 gtqfDf').trigger( "click" );

I want to replicate the onClick event that happens when u click on destination

this is the output that i get on console k.fn.init [prevObject: k.fn.init(1)]

Source: JavaSript – Stack Overflow



Leave a Reply

Your email address will not be published. Required fields are marked *