The following works in my XUL app:

  var s = wind.getSelection();
  var bodyNode = doc.getElementsByTagName("body").item(0);
  s.selectAllChildren(bodyNode);

Translate to the language of choice.

"AM" <[EMAIL PROTECTED]> wrote in message
news:atstvd$[EMAIL PROTECTED]...
> Hi...
> I'd like to implement this in my mozilla embeded browser:
> select the whole content of the current webpage displayed in my embeded
> mozilla browser ( similar to Ctrl-A in the full mozilla browser ).
> How can this be done programatically?
> Thanks,
> A
>



Reply via email to