FIXED: SelectTagAction doesn't work sometimes...
Posted: 24 Sep 2024 17:09
Hi Rickard, sometimes this function doesn't select the tag block when I'm on the start tag, weirdly it does work if I'm on the end tag.
Try select the <select> tag below in TextEd...
Try select the <select> tag below in TextEd...
Code: Select all
<select id="view" name="view" onchange="changeView(this[this.selectedIndex].value);">
<option value="Day"<?= isSelected($view == 'Day') ?> />Day</option>
<option value="WorkWeek"<?= isSelected($view == 'WorkWeek') ?> />Work Week</option>
<option value="Week"<?= isSelected($view == 'Week') ?> />Week</option>
<option value="Month"<?= isSelected($view == 'Month') ?> />Month</option>
<option value="Resources"<?= isSelected($view == 'Resources') ?> />Resources</option>
</select>