Forums

  • # November 30, 2012 at 11:02 am

    Hi All,

    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.

    EX:

  • Will Robinson
  • CodePen:

    [http://codepen.io/jbatzel1/pen/icDEm](http://codepen.io/jbatzel1/pen/icDEm “”)

# November 30, 2012 at 12:37 pm

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

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag