Use javascript to send the value data of input to the value of input text in the confirmation dialog box. The value is not displayed.

problem description

use javascript to send the value data of input to the value of input text in the confirmation dialog box. The value does not display

the environmental background of the problems and what methods you have tried



value textbox value


but the value in the code of the developer tool of the browser is empty

related codes

/ / Please paste the code text below (do not replace the code with pictures)

/ / definition of input for which the user selects a date value
var _ startday = doucment.getElementById ("startday_value"). Value;
var _ endday = document.getElementById ("endday_value"). Value;

/ / definition of input text that accepts data
var _ startday_value = doucment.getElementById ("startday_value");
var _ endday_value = document.getElementById ("endday_value");

/ / data send
_ startday_value.value = _ startday;
_ endday_value.value = _ endday;

Jun.03,2022
The value displayed on the
tag must be set with setAttribute, and it can only be a string;
dom.setAttribute ("value", "12313")

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b31987-2bd9d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b31987-2bd9d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?