On Feb 25, 6:20 am, robing <robingo...@gmail.com> wrote:
> My problem isn't strictly jquery but more javaScript.
> In IE6, 7 i can insert text on a range using pasteHTML().
>
> in IE8 i can only pasteHTML() when text is selected and not when just
> the cursor is placed.
>
> see here for very simple example.
>
> http://robing.xtools.co.nz/demo_cms/test_editor/
>
> any idea's why?

RTFM:

  "pasteHTML Method

  "Remarks
  "This method fails only when used inappropriately to paste HTML
   into a TEXTAREA element in Microsoft Internet Explorer 5 and later.

   ...

  "This feature might not be available on non-Microsoft Win32
platforms.

   ...

  "Standards Information
  "There is no public standard that applies to this method."


<URL: http://msdn.microsoft.com/en-us/library/ms536656(VS.85).aspx >


--
Rob

Reply via email to