This is a discussion on A Javascript Question! Please answer? within the JavaScript forums, part of the Beginners AJAX category; How do I obtain the entire HTML code of the page using javascript?Like I tried var d =document.GetElemnentsByTagName("html").contentit didn't work. Came out undefined. Now, you might have got an idea ...
|
|||||||
| JavaScript JavaScript is the name of Netscape Communications Corporation's and now the Mozilla Foundation's implementation of the ECMAScript standard, a scripting language based on the concept of prototype-based programming. The language is best known for its use in websites (as client-side JavaScript), but is also used to enable scripting access to objects embedded in other applications. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Junior Member
Join Date: May 2007
Posts: 1
Rep Power: 0 ![]() |
A Javascript Question! Please answer?
How do I obtain the entire HTML code of the page using javascript?Like I tried var d =document.GetElemnentsByTagName("html").contentit didn't work. Came out undefined. Now, you might have got an idea of what I am trying to getPlease answer. Thank youthe above is not clearvar d=document.getElementsByTagName("html").contentand var d=document.getElementsByTagName("html").var d=document.get Elements By Tag Name("html") .content(I intentionall placed space, otherwise yahoo answers is not showing the content)
|
|
|
|
| Sponsored Links | |
![]() |
| Bookmarks |
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hardware and OS Virtualization: Multiple Solutions May Be the Answer | microbee | AJAX Help | 0 | 08-16-2008 08:10 AM |
| Virtualization Question & Answer Panel | microbee | AJAX Help | 0 | 06-16-2008 11:43 AM |
| A Question Regarding Javascript/Ajax and SEO? | Mike M | JavaScript | 1 | 05-16-2007 05:05 PM |
| CSS Question? | virus_photo | XHTML and CSS | 2 | 05-04-2007 11:16 PM |
| Javascript question using Frames? | yoelbenyossef | JavaScript | 2 | 03-21-2007 09:39 AM |