Update inputs from JS on document load
This commit is contained in:
parent
740bf8fb68
commit
3a35e7f03c
2 changed files with 9 additions and 6 deletions
|
|
@ -29,11 +29,14 @@ var fovY = 3146;
|
|||
|
||||
window.onload = function() {
|
||||
getStagePositions()
|
||||
updateTextBoxes()
|
||||
}
|
||||
|
||||
function updateTextBoxes() {
|
||||
document.getElementById('stageVelocityText').value = stageVelocity;
|
||||
document.getElementById('stageVelocityInput').value = stageVelocity;
|
||||
document.getElementById('focusVelocityText').value = focusVelocity;
|
||||
document.getElementById('focusVelocityInput').value = focusVelocity;
|
||||
|
||||
document.getElementById('fovXText').value = fovX;
|
||||
document.getElementById('fovYText').value = fovY;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue