Document TITLE variable - works in all browsers - but NOT IE8

Document TITLE variable - works in all browsers - but NOT IE8

Hey,

I have an XML document which I'll be using to populate a menu. The parsing works in all browsers except IE (I've only tried IE8 which is supposed to be the best...

Wow! As I was writing this I found out what upset IE8.

I had: $('title').append(courseTitle);

Any idea about how to make this work in IE8 as well?

Cheers, Eirik