Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. range.PasteHTML is not pasting style information on to the document. help needed. (Java sript ) [modified]

range.PasteHTML is not pasting style information on to the document. help needed. (Java sript ) [modified]

Scheduled Pinned Locked Moved Web Development
helpjavahtml
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sarat12in
    wrote on last edited by
    #1

    I am trying to paste HTML content which i get from another source as String, which contains style information in the head and actual message content in the body tags. when I paste the HTML using range.PasteHTML ( Java sript ) on to iframe, it will not copy the Style information so whatever the formatting the actuallt text data contains will not be pasted on to the iframe. this issue happens on IE7 but works fine for Mozilla Firefox 2.0.0.20. The issue is, formatting gets disappeared when i copy the html text on to ifame in IE7

    modified on Wednesday, October 21, 2009 1:32 AM

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups