add to a class

Hi everyone I have been racking my brains and I cant remember how to append a class from an action to a div thats already has classes added to it from the style palette. I was looking for for something like

      myTag.fwAddJToTag("class","myclass");

but obviously this would give me

   <div id="item1" class="style1;myclass"></div>

so I was racking my brains to remember if there was a proper way to append to a class

Cheers in advance

max


actionsdev mailing list
email@hidden
Update your subscriptions at:

Start here and read down a few methods:

Walter

On Jul 12, 2016, at 5:08 PM, max email@hidden wrote:

Hi everyone I have been racking my brains and I cant remember how to append a class from an action to a div thats already has classes added to it from the style palette. I was looking for for something like

     myTag.fwAddJToTag("class","myclass");

but obviously this would give me

  <div id="item1" class="style1;myclass"></div>

so I was racking my brains to remember if there was a proper way to append to a class

Cheers in advance

max


actionsdev mailing list
email@hidden
Update your subscriptions at:
Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk


actionsdev mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Sorry if you’re reading this on the Web. Line 118 and down on the embedded file:

Walter


actionsdev mailing list
email@hidden
Update your subscriptions at:

thanks walter and before I forget thanks for putting on the right track on the consistent line endings

cheers max


actionsdev mailing list
email@hidden
Update your subscriptions at: