Results for “library”
Small, practical examples. Search by task or narrow things down below.
Separate records into two lists
Python: Build two explicit partitions so callers can use both matching and rejected values.
Python✓ Tested
Sequence work on an element’s queue
jQuery: A queue callback calls next to allow the following callback to run.
jQuery✓ Tested
Serialize successful controls for a URL-encoded request
jQuery: serialize includes named enabled controls and checked checkboxes.
jQuery✓ Tested
Set a boolean element property
jQuery: Learn how to set a boolean element property in a complete browser example.
jQuery✓ Tested
Set a text field’s value
jQuery: Learn how to set a text field’s value in a complete browser example.
jQuery✓ Tested
Set an HTML attribute
jQuery: Learn how to set an HTML attribute in a complete browser example.
jQuery✓ Tested
Set and retrieve an HTTP header
Set and retrieve an HTTP header using a complete Go program with explicit sample inputs.
Go✓ Tested
Set and test bit flags
Use unsigned masks to combine and test C flags.
C✓ Tested
Set several inline styles together
jQuery: Pass a property-value object to css.
jQuery✓ Tested
Set several selected options
jQuery: Passing an array to val selects matching values in a multiple select.
jQuery✓ Tested
Set text without interpreting HTML
jQuery: Learn how to set text without interpreting HTML in a complete browser example.
jQuery✓ Tested
Share immutable data with Arc
Share immutable data with Arc in a complete Rust program using the standard library.
Rust✓ Tested