In my w2ui form, specifically the multiselect pop-up element, I have several options which contain ampersands (&
). In the box itself, it shows correctly, but when w2ui renders the pop-up selection box, it shows them html coded as (&
). Is there an easy work around to correct this so it shows up as (&
) in the popup menu as well?
Edit: here is a breakdown of the script in use.
`
<html>
<head>
<link rel="stylesheet" type="text/css" href="http://w2ui.com/src/w2ui-1.4.2.min.css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>
<script type="text/javascript" src="http://w2ui.com/src/w2ui-1.4.2.min.js"></script>
</head>
<body>
<input id="enum">
<script type="text/javascript">
var assetList = ['ABIL DS&O 845','ADSO012001','ADSO012002'];
$('#enum').w2field('enum', {
items: assetList
});
</script>
</body>
</html>
`