codice:function isLoaded(s) { var e = document.getElementsByTagName('script'), i = e.length; while (--i) { var src = e[i].src; if (-1 < src.indexOf(s)) return true; }; return false; }
prima del </body> o all'onload (o al domready) esegui questa funzione
ad es.
codice:if (isLoaded('jquery')) { // hai caricato jquery }
ciao

Rispondi quotando