Customer Banners (Ads) - SpiceUp. AX and SpotfireX Disclaimer



If you find this site useful and you want to support, buy me a coffee   to keep this site alive and without ads.

Replace a label property control that contains html with actual html

html:
<SpotfireControl id="688183b21bfc40a5a778ac43bc830ea9" />

script:
//you will need to replace the number with your actual property control
$("#688183b21bfc40a5a778ac43bc830ea9").html($("#688183b21bfc40a5a778ac43bc830ea9").text())

2 comments:

Anonymous said...

i think the ids are not guaranteed to be constant.. as far as I have been told

Jose Leviaguirre said...

If that's case, you could wrap your Spotfire Control with another div with an id of your own:

<span id='myHtml'><SpotfireControl id='1D0N7C4R31F1TCH4N63S'/></span>

script:
$("#myHtml").html($("#myHtml").text())