Home › Forums › JavaScript › if else statement issue › Re: if else statement issue
December 18, 2010 at 5:53 am
#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