Lines Matching refs:value
153 const textBefore = element.value.substring(0, element.selectionStart);
154 const textAfter = element.value.substring(element.selectionEnd);
155 element.value = textBefore + text + textAfter;
172 let datestr = datefield.value;
274 if (datefield.value !== datestr) {
275 datefield.value = datestr;
387 if (greg_regex.exec(dateField.value)) {
498 dateField.value = (day < 10 ? '0' : '') + day + ' ' + monthShort[month + 1] + ' ' + year;
521 let month = parseInt(monthSel.options[monthSel.selectedIndex].value, 10);
524 let date = new Date(yearInput.value, month, dateSel.options[dateSel.selectedIndex].value);
588 let txt = field.value.toUpperCase();
618 field.value = txt;
660 const extra = element.options[element.selectedIndex].value.replace(/@/g, '');
814 webtrees.resetTomSelect = function (tomSelect, value, text) { argument
817 tomSelect.addOption({ value: value, text: text }); property
819 tomSelect.addItem(value, true);
833 …container.querySelectorAll('.select-' + select.value).forEach(element => element.classList.remove(…
842 container.querySelectorAll('.select-' + select.value + ' select').forEach(element => {
866 if (select && json.value !== '') {
868 webtrees.resetTomSelect(select.tomselect, json.value, json.text);
891 if (!element.readOnly && element.value !== '' && !pattern.test(element.value)) {