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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Translate the entire conversation x

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

jpadilla
10-Marble

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
Announcements

Top Tags