Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 8th, 2007, 11:48 AM
Registered User
 
Join Date: Dec 2007
Location: Minneapolis, MN, USA.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Finding altered DOM after JavaScript Manipulations

Finding altered DOM after JavaScript Manipulations -- is it possible?

It would be extremely useful. For example, after modifying the
display of a web page, such as the JS applications at
http://mynichecomputing.com/digitall...oolTipApps.htm do, is there anyway to "View the Source" , or better yet,
programatically GET the Source of the NEW PAGE that somehow has
been generated.

I think it would not be possible to overstate the advances that
could be made in JS and AJAX, if this is possible. Please feel
free to email me personally at core_psyc@att.net

Reply With Quote
  #2 (permalink)  
Old December 8th, 2007, 02:08 PM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi there,

You can take a look at the "IE Developer's Toolbar" for Internet Explorer or the "Web Developer toolbar" for Mozilla....

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
Reply With Quote
  #3 (permalink)  
Old December 8th, 2007, 02:34 PM
Registered User
 
Join Date: Dec 2007
Location: Minneapolis, MN, USA.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Is there anyway to access this programatically, like for
AJAX applications and so forth? (I.E. so the changed DOM
can itself be the input to a server).

Quote:
quote:Originally posted by Imar
 Hi there,

You can take a look at the "IE Developer's Toolbar" for Internet Explorer or the "Web Developer toolbar" for Mozilla....

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
Reply With Quote
  #4 (permalink)  
Old December 8th, 2007, 02:43 PM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Just examine the DOM as you would normally, e.g.:
Code:
alert(document.body.innerHTML);
--

Joe (Microsoft MVP - XML)
Reply With Quote
  #5 (permalink)  
Old December 8th, 2007, 05:20 PM
Registered User
 
Join Date: Dec 2007
Location: Minneapolis, MN, USA.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Joe, it certainly seems reasonable and you certainly are one who would know. I have not tried it, but will.

It is surprizing how this has never been actually put to good use in JS programming examples in the 20+ books I have read over the last 10 years.

It certainly is very central functionality.

Thanks, again, Joe.

-- Larz

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Difficulty writing javascript to access dom ldoyle Javascript How-To 2 February 23rd, 2007 11:25 AM
JavaScript, CSS, DOM - xBrowser Problem erobb Javascript 1 September 10th, 2006 06:44 AM
New JavaScript DOM article posted jminatel Javascript 0 August 26th, 2006 01:43 PM
XML DOM and Javascript lilu XML 3 September 25th, 2003 07:55 AM



All times are GMT -4. The time now is 11:01 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.