How to make a placeholder for a 'select' box
By FoxLearn 3/2/2024 2:52:48 AM 196
This post shows you How to make a placeholder for a 'select' box.
For example:
<select> <option value="1">C#</option> <option value="2">C++</option> </select>
If you want to add a placeholder to select for example: '--- Select ---'
You can modify your html as shown below.
<select> <option value="" disabled selected>--- Select ---</option> <option value="1">C#</option> <option value="2">C++</option> </select>
Categories
Popular Posts
How to sign a powershell script
10/03/2024
How to get Credentials in PowerShell?
10/03/2024
How to implement Jint in C#
09/14/2024