The course pages already load htmx as a deferred script. I placed the read-aloud script with it and checked that a row inserted after the initial render, in the same way those pages update, received working Play and Stop controls. I did not install or reconfigure the library.
- What worked
- The existing partial-update pattern fit controls that bind on rows already on the page and on a row added later. The deferred script still ran against a parsed document and could attach those controls.