[quote=kuntilanak]ada yang punya code untuk membuat beberapa JS file kedalam 1 code js untuk di inject di[/quote]
Pake multiple JS sis
[quote]/* Multiple JS Injection */
scriptFolder = 'URL FOLDER JS KAMU'
scripts = new Array()
scripts[0] = 'URL KODE JS 1'
scripts[1] = 'URL KODE JS 2'
scripts[2] = 'URL KODE JS 3'
scripts[3] = 'URL KODE JS 4'
scripts[4] = 'URL KODE JS 5'
for(x in scripts){
myscripts = document.createElement('script')
myscripts.src = scriptFolder+scripts[x]
document.getElementsByTagName('head')[0].appendChild(myscripts)}[/quote]
File JS kamu harus dalam satu folder
Last edited by strezzpc (2008-07-23 01:16:39)