Lets say I have an I-frame called blah.
I want to add text to it and I have this function:

function addSmiley(textToAdd)
  var thewindow = window.frames['blah'];
Unfortunately, when I click on the smiley, it completely replaces all the text in the Iframe with the symbol for that smiley. How do I get it to add the symbol for the smiley to the text already there.

Basically I want to know the object property for all the text currently in the I-frame.

Its not thewindow.document.value like I thought it was.