I want to display the value of input id = "flotsam"
in div id = "aux_fees"
. How can that be done?
I meant displaying the "title" of the expenditure. The website is https://verlager.com and the table has a column header with a default of "aux" I want that "aux" (an input field) to be typed over and then the TOTAL "AUX" at the top of the page displays the column title.
Maybe there is a better way. I should edit the AUX input directly and have the fixed string "aux" just remain as it is. I'll try that!
<div id="aux_fees"> AUX $ <input type="text" id="totalAux" disabled /></div>
<div class="AUX "><input onblur="displayResult()" placeholder = "aux" id = "flotsam" /></div>
<script>
function displayResult() {
document.getElementById("aux_fees").innerHTML = "Have a nice day!";
}
</script>