Could anyone please suggest what I'm doing wrong:
I want the list of YouTube video IDs in my #videoslist DIV to be split into and populate an array used by a simple video carousel I found.
When the array of video IDs is explicitly declared in the script, it works fine, but if I take the .text() or .html() (jQuery) of the DIV and split that into an array, even though the array gets populated fine, there seems to be a problem somewhere that means it doesn't work, but I can't figure it out...
Any help is much appreciated!