I have an attribute of a list object in html like this:
<ul>
<li id="myID" add-param="{"type1":"myType1","type2":"myType2"}">Test</li>
</ul>
Having the list item with specified ID, how could I get the value myType1,myType2 by the key type, type2 ?
Thanks.