Use js to set the value direct assignment to the date drop-down box. The value is written into the text box, but the value in the HTML is still empty.

such as the title.
the front-end code is as follows:

clipboard.png
js(robot framework):


HTMLvalue:

clipboard.png


value in html is the default
will only have an effect when the form is reset.

if you do want to change this default value, you need to use .setAttribute ('value','2018-08-03') so

but your problem should be that the html is regenerated, so you need to store this value extra and re-assign it on regeneration


Hello, I also encountered this problem. How did you solve it

?
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-1e469bd-44bd8.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-1e469bd-44bd8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?