PDA

View Full Version : Using DOM in javascript to display pages within a page



goldalushington
12-28-2009, 01:04 AM
How can I use javascript (I'm assuming I would have to use the DOM) to display a page within a page.

For example if I click on a link on a page I want a small page (or at least the elements )to be displayed within the same page.

Pressing on different links would cause different pages to display within the same page.


Can anyone help?

Thank you

twQ
12-28-2009, 01:10 AM
Ah do you mean an AJAX request? Or have you tried that, and it wasn't what you need.

jscheuer1
12-28-2009, 04:16 AM
See:

http://www.dynamicdrive.com/dynamicindex17/indexb.html