Friday, 15 February 2013

jquery - Is it possible to create a custom html attr as a tag -



jquery - Is it possible to create a custom html attr as a tag -

is possible add together custom attribute in format html element.

<div class="example" editor:edit></div>

( bit mailchimp's merge tags)

if so, how go targeting element, preferably jquery.

mdn's html attribute reference implies should never create non-standard attributes.

this purpose of data-* attribute, description in list is: lets attach custom attributes html element.

jquery html mailmerge

No comments:

Post a Comment