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

#104753
farzadina
Participant

@TheDoc Yes, it looks you are right, I didn’t saw a Script as a DOM ever. Thanks for you helps.
@_John_ Thanks a lot, I used your first code & that worked great! The second one is not suitable for me, because I don’t need those messages (e.g failed).
Thanks again.