I need to be able to insert the data attribute name in HTML. I want to pull the data-name out from the example below and insert it in HTML. If there is a way to get rid of data-, that would be great too.
How about something like this http://codepen.io/anon/pen/LCjqv ?
Update: here is another alternative more similar to the example in your codepen http://codepen.io/anon/pen/kzuvo
You must be logged in to reply to this topic.