|
Oh, due to the characteristics of the Dropdownlist control, if it is a value assigned by the front-end JS, the background code cannot directly read the value of the Dropdownlist, and the landlord will find that the value of the Dropdownlist has returned to the initial spatiotemporal state.
The solution is:
Add a TextBox file box and make it invisible. Then select Dropdownlist, use js to assign the value to the TextBox, and read the value in the TextBox in the background when submitting. |
|