I am trying to build a conditional inline script to hide some elements in a registration form.
I want to check for the presence of a div with the class spco-attendee-ticket-910
and, if found, then hide the div with the class ee-reg-qstn-34-input-dv
Here is a piece of JQuery code I tried but the hasClass() method does not seem to return anything :
Hi Justin,
I am trying to build a conditional inline script to hide some elements in a registration form.
I want to check for the presence of a div with the class spco-attendee-ticket-910
and, if found, then hide the div with the class ee-reg-qstn-34-input-dv
Here is a piece of JQuery code I tried but the hasClass() method does not seem to return anything :
Am I missing something ?
Thanks in advance for your help !
Patrick