Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Sep 2005
    Location
    Latina (Italy)
    Posts
    73
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Internet Explorer How to insert a html code into an iframe (IE)

    Hi y'all!!

    I suppose my last question /* this:
    I'd like to know if there's a js method to retrieve the current offsets of a selection into an iframe using MSInternetExplorer!!
    */
    was not easy to understand...
    Last edited by cdc08x; 12-22-2005 at 07:47 AM. Reason: [for better specifying the problem]

  • #2
    New Coder
    Join Date
    Sep 2005
    Location
    Latina (Italy)
    Posts
    73
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I try to specify my problem: if I build an iframe setting its property
    Code:
    designMode="on"
    I can create a kinda html editor.
    Using
    Code:
    execCommand(<name>,<param1>,<param2>)
    I can manage the font format, text justification, I can cut, paste, undo, redo...
    but I can't insert, for example, a table, if I don't use Mozilla (if you have a look here you can see what I mean).
    My real problem is: how can I insert some customized html-code into that designable iframe using MicrosoftInternetExplorer? Or (that's my previous question) how can I see where the caret is into that iframe, to change its innerHTML at that position?

    Thanx in advance!!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •