> content = '<h1>%s</h1>' % (callsign,) > core.replaceInnerHTML('#portal-siteactions', content) I was under the impression you had to do core.replaceInnerHTML(core.getHtmlIdSelector('portal-siteactions'), content) Does that work?