cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

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

jpadilla
6-Contributor

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

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

0 REPLIES 0
Top Tags