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. ASP.NET
  4. plz help its urgent

plz help its urgent

Scheduled Pinned Locked Moved ASP.NET
javahtmltoolshelp
6 Posts 2 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.
  • J Offline
    J Offline
    jagadeeshkumar1984
    wrote on last edited by
    #1

    iam using iframe in that iframe i loaded an html file .now i want the source code of that html page.for this iam using iframe.document.body.innerHTML.for that iam getting only the code from

    to

    but there was a java script in that page.but iam not getting the fullcode from to .how could be possible

    I 1 Reply Last reply
    0
    • J jagadeeshkumar1984

      iam using iframe in that iframe i loaded an html file .now i want the source code of that html page.for this iam using iframe.document.body.innerHTML.for that iam getting only the code from

      to

      but there was a java script in that page.but iam not getting the fullcode from to .how could be possible

      I Offline
      I Offline
      InsDev
      wrote on last edited by
      #2

      just u want to view source code of ur html page. Devjit

      J 1 Reply Last reply
      0
      • I InsDev

        just u want to view source code of ur html page. Devjit

        J Offline
        J Offline
        jagadeeshkumar1984
        wrote on last edited by
        #3

        yes sir complete source code of the page which i loaded in the iframe.plz help in this regard

        I 1 Reply Last reply
        0
        • J jagadeeshkumar1984

          yes sir complete source code of the page which i loaded in the iframe.plz help in this regard

          I Offline
          I Offline
          InsDev
          wrote on last edited by
          #4

          Tru to use this u will get. function viewSource() { d=window.open(); d.document.open('text/plain').write(document.documentElement.outerHTML); } Devjit Das.

          J 1 Reply Last reply
          0
          • I InsDev

            Tru to use this u will get. function viewSource() { d=window.open(); d.document.open('text/plain').write(document.documentElement.outerHTML); } Devjit Das.

            J Offline
            J Offline
            jagadeeshkumar1984
            wrote on last edited by
            #5

            thanks u sir its working.m getting complete source code.

            J 1 Reply Last reply
            0
            • J jagadeeshkumar1984

              thanks u sir its working.m getting complete source code.

              J Offline
              J Offline
              jagadeeshkumar1984
              wrote on last edited by
              #6

              sir frame1.document.documentElement.outerHTML the complete code is comming ,but now i want i click a button preview the html page should come how copuld be possible

              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