File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/components/bitrix/voting.form/templates/with_description/script.js
Back
function resetForm(form, e) { var inputs = form.elements, i; for (i = 0; i < inputs.length; i++) { if (inputs[i].tagName == "SELECT") { inputs[i].selectedIndex = 0; } else if (inputs[i].tagName == "TEXTAREA") { inputs[i].value = ''; } else { switch (inputs[i].type) { case 'text': inputs[i].value = ''; break; case 'radio': case 'checkbox': inputs[i].checked = false; break; } } } return BX.PreventDefault(e); }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.28 |
proxy
|
phpinfo
|
Settings