Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript if else statement issue Re: if else statement issue

#69537
TT_Mark
Member

Noah never asked for a function that checked if the element had a certain class, he simply asked for the code to do it without using JQuery and your response was that it couldn’t be done without JQuery.

I was simply pointing out that JQuery is nothing more than JavaScript simplified. I assume the JQuery .hasClass() function is built on top of the code I posted above