Splunk interview question

DOM manipulation in JS