Easier to explain with simple code:
$("#element").fadeOut(); // jQuery; works as expected
I want to use .fadeOut()
and select element with JS like this:
document.getElementById("element").fadeOut(); // Does not work
How do I make this work and is there any point of doing this (performance wise)?
Any thought is appreciated. Thanks.