For example, when using DWR, if you want to pass the parameters of the drop-down box to the background, you need to get the value of the drop-down box first.
In fact, it is very simple to get the value of the drop-down box.
The most critical piece of code is:
onchange="show([].value);"
onchange="show([].value);"
show is a custom function name.
[].value is the protagonist!
In fact, it is very simple to get the value of the drop-down box.
The most critical piece of code is:
Copy the codeThe code is as follows:
onchange="show([].value);"
onchange="show([].value);"
show is a custom function name.
[].value is the protagonist!