April 1, 2018
Using Javascript to Concatenate – A Real State Changer
Comments
(0)
April 1, 2018
Using Javascript to Concatenate – A Real State Changer
I am currently a provider of technical training and support in the electronic manufacturing industry. My prior training and work experience as a teacher, network administrator, web design, and instructional design make me well prepared to design it, develop it, and deliver it. I am a father of five, a US Army veteran, and I enjoy playing the guitar as well as performing in local community theater. 
Legend 99 posts
Followers: 157 people
(0)

In this post, I provide an example of how you can change the state of an object based on the changing values of two different variables.

The solution I offer you is to concatenate the variables into a single string that matches the name of your states.

I referenced this in my post on using state changes as navigation and have used this in many projects and so I thought it was time to write up something a little more formal.

I chose to do all the write up within Captivate along with the example – In this case, choosing a male or female avatar.

If you are interested in learning more, the link is below.

https://s3.us-east-2.amazonaws.com/captivateshare/concat/index.html

0 Comments
Add Comment