which div containers ? fields have "Field class" behavior to add extra classes, but you can not set an ID
Yes, classes work, but there is no option to assign an ID to the containers. You can add that to the next update.
in what case do you need an id and a class is not going to work ?
reload DIV Container
1. <div id="refresh" class="nui fluid">myiframe</div>
2. <span onclick="refreshDiv();"><i class="fa-solid fa-arrows-rotate"></i> xyz</span>
3. Javascript: function refreshDiv() {$('#refresh').load(location.href + " #refresh");}
1. <div id="refresh" class="nui fluid">myiframe</div>
2. <span onclick="refreshDiv();"><i class="fa-solid fa-arrows-rotate"></i> xyz</span>
3. Javascript: function refreshDiv() {$('#refresh').load(location.href + " #refresh");}
so just use a class and useĀ
$(".refresh")
You need to login to be able to post a reply.