Quantcast
Channel: PTC Community : All Content - Arbortext
Viewing all articles
Browse latest Browse all 1645

How to create a new attribute in an element via javascript in Editor?

$
0
0

Hello All,

I want to retrieve the address.js that is given as a sample with the standard Editor install.

This javascript coupled with an html form allows you to populate address tag using the html form.

What I would like to do is create an elements structure and insert an attribute in one of the element.

I've found the setAttribute method in the help center.

Does anyone know how to use it?

Do you have any sample?

Thanks a lot in advance for your help,

Jérôme


Viewing all articles
Browse latest Browse all 1645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>