Results for “SELECT”
Small, practical examples. Search by task or narrow things down below.
Format an amount in a selected currency
Format an amount in a selected currency with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Identify the selected submit action
HTML: Each submit button can supply its own named value for the same form.
HTML✓ Tested
Make an unavailable select option unselectable
HTML: A disabled option remains visible but cannot be selected through normal keyboard navigation.
HTML✓ Tested
Offer a selection list
Provide a labeled HTML select with a default option.
HTML✓ Tested
Print a selected range of lines
Linux Commands: Use sed -n with a line address to suppress other output.
Linux Commands✓ Tested
Provide a list of selectable options
HTML: Learn how to provide a list of selectable options in a complete browser example.
HTML✓ Tested
Push one selected release tag
Git: Naming a single tag avoids pushing every local tag unintentionally.
Git✓ Tested
Read a selection when its change event fires
jQuery: A change handler observes the current selected value.
jQuery✓ Tested
Remove duplicate records by a selected key
C#: DistinctBy keeps the first record for each key in encounter order.
C#✓ Tested
Remove one selected element
jQuery: Learn how to remove one selected element in a complete browser example.
jQuery✓ Tested
Require a checkbox to be selected
HTML: A required checkbox is invalid until that individual control is checked.
HTML✓ Tested
Respond when a select value changes
jQuery: Learn how to respond when a select value changes in a complete browser example.
jQuery✓ Tested