Files
a-dog-a-pet/app/static/js/update-user-info.js

9 lines
372 B
JavaScript

(() => {
'use strict'
const personalInformationForm = document.querySelector('#personal-information-form');
const personalInformationSubmitBtn = personalInformationForm.querySelector('button');
personalInformationSubmitBtn.disabled = true;
personalInformationForm.oninput = function (){
personalInformationSubmitBtn.disabled = false;
}
})()