since I am new to Openacs could you please explain me with some example
there are lots of good JavaScript examples here: https://www.w3schools.com/js/js_ex_dom.asp
regards Brian