...

View Full Version : Get array of css & js links from external file



Oziam
01-11-2011, 09:19 PM
Hi,
I have an ajax script which gets an external file(html/php etc...) and loads it into an assigned DIV container, this works great, but what I am trying to do is get an array of any .js and/or .css path/filenames from within the external file.

I have a function that will do the rest I just need a way of getting the path/filenames associated with .js,.css from a <script> or <link> tag and be put into an array then passed to a function call

e.g of desired result: loadext('pathto/style.css', pathto/script.js');

Thanks!!!

Oziam
01-13-2011, 01:49 AM
*** solved***



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum