Skip to content
Archive of entries posted on February 2008

Cannot populate a select element under IE 6 using the innerHTML property

On the other hand, here is an obvious bug in IE 6 that I managed to run into. In IE 6, if you attempt to dynamically change the contents of a <select> element in Javascript, via assigning a new string containing <option> elements to its innerHTML property, the select element will not be populated. [...]

IE 6 renders a blank page on XHTML-style script end tag

On IE 6, a well-formed and validated web page may be rendered as a blank page if you close <script> tags in XHTML style. As in, <script type=”text/javascript” … src=”foo.js” />, rather than the HTML style <script type=”text/javascript” … src=”foo.js”></script>
So one of my web pages renders great in Safari and Firefox, but in [...]

testing HTTPS with openssl

It’s often possible to emulate a web client by talking to a web server by hand, via telnet.
$ telnet localhost 80
Trying 127.0.0.1…
Connected to localhost.
Escape character is ‘^]’.
GET / HTTP/1.0
HTTP/1.1 200 OK
Date: Mon, 04 Feb 2008 09:18:05 GMT
Server: Apache/2.2.7 (Unix) mod_ssl/2.2.7 OpenSSL/0.9.7l DAV/2 mod_python/3.3.1 Python/2.5.1
Last-Modified: Sat, 20 Nov 2004 20:16:24 GMT
Accept-Ranges: bytes
Content-Length: 44
Connection: close 
Content-Type: text/html
<html><body><h1>It works!</h1></body></html>
Connection [...]