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
Have you looked at yepnope.js?