The Best Hidden Feature of Divi
Andy Tran
1710

Hi, I’m not that familiar with javascript and jQuery, but this seems silly :/

Code:

console.log(‘1’);
console.log(document.getElementById(‘#et-social-icons’));
console.log(‘2’);
console.log(jQuery(“#et-social-icons”));

Output:

1 null

2 n.fn.init {context: document, selector: “#et-social-icons”}

Is this normal? It seems that js is not working for me…

Thanks in advance.

Show your support

Clapping shows how much you appreciated Martin Pfeffer’s story.