Home >Web Front-end >JS Tutorial >JavaScript controls hiding and showing content
Contain the following similar code in the Jsp page:
onclick="$_$('#selectUser').css ({display:' '});">Display
onclick="$_$('#selectUser').css ({display:' '}):">
The following code is to control the displayed content
or
Of course, the control code can also be written in function() according to the specific situation