FIND YOUR NEXT FEW LINES

Results for “parent”

Small, practical examples. Search by task or narrow things down below.

59 snippets foundClear filters
Linux CommandsDates & process utilities

Pass a variable to one command

Linux Commands: Use env to supply a child process value without setting it permanently in the parent shell.

Linux Commands✓ Tested
jQueryInsertion & wrapping

Remove a wrapper while preserving its children

jQuery: unwrap replaces a selected element’s parent with that parent’s contents.

jQuery✓ Tested
SQLConstraints & defaults

Remove dependent rows with a declared cascade

SQL: ON DELETE CASCADE removes children when their referenced parent is deleted.

SQL✓ Tested
SQL ServerConstraints & defaults

Remove dependent rows with a declared cascade

SQL Server: ON DELETE CASCADE removes children when their referenced parent is deleted.

SQL Server✓ Tested
PostgresConstraints & defaults

Remove dependent rows with a declared cascade

Postgres: ON DELETE CASCADE removes children when their referenced parent is deleted.

Postgres✓ Tested
SQLiteConstraints & defaults

Remove dependent rows with a declared cascade

SQLite: ON DELETE CASCADE removes children when their referenced parent is deleted.

SQLite✓ Tested
HTMLTables & list numbering

Represent a hierarchy with nested lists

HTML: Place the nested list inside its parent list item to preserve the hierarchy.

HTML✓ Tested
jQueryTraversal & selection

Select siblings while excluding the current element

jQuery: siblings selects other children of the same parent.

jQuery✓ Tested
CSSBox dimensions & overflow

Size a panel relative to viewport height

CSS: Viewport height units track the browser viewport rather than the parent element.

CSS✓ Tested
CSSInteraction selectors

Style a card based on a selected descendant

CSS: Has matches the parent when its relative selector finds a checked control inside it.

CSS✓ Tested
jQueryInsertion & wrapping

Wrap each matched element separately

jQuery: wrap adds a parent around each selected element.

jQuery✓ Tested