Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jan 2011
    Location
    Queensland Australia
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Get array of css & js links from external file

    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!!!

  • #2
    New to the CF scene
    Join Date
    Jan 2011
    Location
    Queensland Australia
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    *** solved ***

    *** solved***


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •