Looking for any PHP, Jquery, javascript solution to take data separated by commas and turn it into an unordered list.
To explain further, I have imported a CSV file into wordpress and one element block contains lots of data that is comma separated and I need it to display as a list.
All help is appreciated!
In PHP
In JavaScript
There are cleaner ways to write this, but hopefully this will give you an idea of how it can be done using jQuery.
And here's the fiddle: http://jsfiddle.net/JmwDw/
HTML
JavaScript
JSFiddle