Set Attribute Widget

0
Hello I’m just learning how to use the Mendix Modeler and I was wondering if anyone can tell me how to use the Set Attribute widget?  I’m trying to add a class name to a list item within an unordered list. Or maybe add the class name to a list item when the list item has a certain class name within it.  I hope this makes sense?  Thank you.   Sam...
asked
2 answers
1

Like this you mean?

If you are having difficulty to get the correct query, just in your browser on the page where you want to make the change, inspect your element (or press F12), go to the console and try some queries $('.myclass’) or $('ul’) for the unordered list.

answered
0

So i can use this widget to add a class name to a list item <li> that has a class name (progressOuter). See image.  

answered