On Jan 25, 11:09 am, "Panther" <pantherh... (AT) comcast (DOT) net> wrote:
Quote:
I am trying to load one page inside of another without using frames. For
example: page1.html(main page) in the html code is a table, in this table i
want to load/show page2.php or the "output" of it. |
This really depends on what your goal is and what page2.php looks
like. If you really want the whole page embedded in a table, use an
object or an iframe (almost the same thing, from the browser's
perspective - a new instantiation of the browser control inside a
running page). If, however, all you want is to retrieve a string or
bit of information and display it in a table without reloading your
main page, you should consider using XMLHttpRequest (aka Ajax). It
looks a little more complex on the surface but once you get the hang
of it it's quicker and much more versatile than simply loading another
page within a table cell.
David