Forums

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

Home Forums JavaScript Load my .js code, only when ‘x’ DIV exists Re: Load my .js code, only when ‘x’ DIV exists

#104640
farzadina
Participant

So how I can detect the presence of the div without the help of the Jquery? (I know it’s possible with wordpress ‘Custom Fields’, but don’t know how to do that)
Did I understood your purpose?