Current location - Recipe Complete Network - Complete cookbook of home-style dishes - How to change < lt; Values in the span & gt tag
How to change < lt; Values in the span & gt tag
You can change.

In addition, I improved the javascript part for you. After the user fills in the things, the sentence "Booker cannot be empty" will be changed back to "*".

The circled part is the code I added

As shown in the figure, if you don't enter your name now, you will be prompted "Booker cannot be empty".

It will become "*" after input.