Looks nice, but IIRC the old code "cached" the selected text for a reason: in some browsers (not sure which

), clicking the
![[Image: qquote.gif]](http://shoutbox.menthix.net/images/qquote.gif)
button will actually unselect the text before quickquote() has a chance to grab it.
I read that using onmousedown instead of onclick for the button will solve that problem though... :\