Hi.
How can I write
<body onload="javascript:document.getElemByID('q').focus();">
in BlazeHtml?
The problem is that single quotes are always converted to HTML.
I'd appreciate a quick response. Thanks in advance.
While Jasper's response answered your literal question, I'd add that
the reason your code isn't working isn't the HTML encoding, which
should be left alone. The problem is that your event handler
shouldn't have "javascript:" in front of it, and the DOM method is
"getElementById", not getElemById.