The pure javascript equivalent of jquery $ ("# large_box2_link"). click ();

I use this little code in the jquery function, it works in every browser other than ie6, and that’s how our client uses only ie6,

Can someone help me translate this into pure javascript?

$("#large_box2_link").click();
+3
source share
1 answer
document.getElementById("large_box2_link").click();
+10
source

Source: https://habr.com/ru/post/1725972/


All Articles