You can access the document object of an iframe with jQuery:
   var doc = $('iframe').contents().get(0);

That SHOULD be enough.
>From there.. you get a bifurcation depending on the browser you're at.

--
Ariel Flesler
http://flesler.blogspot.com/


On 15 jul, 22:15, Marcus Eby <[EMAIL PROTECTED]> wrote:
> Wondering if anyone can help me.
>
> I'm trying to access the body of an iframe, (done) and want to see the
> selectionStart or get the selection range from it.
>
> Only problem is it doesn't contain the selection range, or
> selectionstart.
> How can I retrieve this?
>
> Thanks
>
> Have tried the following:
> $(dsrte)
> $(dsrte.body)
> $(dsrte.iframe.body)
>
> etc...
>
> None contain the selectionStart property.
> I'm wondering if its only used in fields, if so, what do I need to do
> to capture the body selection?
>
> Marcus

Reply via email to