473,399 Members | 3,106 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Html innet text from differnt page

Hi,

I have an element on my calling page called tableHolder:

<div id="tableHolder" ></div>

I want to use javascript to fill this element with the HTML from
another element:

<div id="tablePlaceHolder". . . HTML . . . </div>

But here's the rub, tablePlaceHolder is on a different HTML page. How
can I do this?

Aug 7 '06 #1
2 1309
Also, this other page is in the same domain. Do I have to use the
HTTPRequest object to get the other page?

Aug 7 '06 #2
<eg****@gmail.compíse v diskusním príspevku
news:11**********************@i42g2000cwa.googlegr oups.com...
Hi,

I have an element on my calling page called tableHolder:

<div id="tableHolder" ></div>

I want to use javascript to fill this element with the HTML from
another element:

<div id="tablePlaceHolder". . . HTML . . . </div>

But here's the rub, tablePlaceHolder is on a different HTML page. How
can I do this?
Place different HTML page into iframe with style="display: none" :-) This
iframe will not be displayed but will be accessed via javascript.
--

Petr Vileta, Czech republic
(My server rejects all messages from Yahoo and Hotmail. Send me your mail
from another non-spammer site please.)
Aug 7 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: TinyTim | last post by:
I'm a newbie at ASP & HTML. It seems that when you use server side code and you're going to return a customized HTML form with several fields and labels, you have to do an extensive amount of...
4
by: frogman042 | last post by:
My daughter is playing around trying to learn JavaScript and she wrote a small program that prints out a message in increasing and decreasing font size and color changes. She is using document...
35
by: Boobie | last post by:
I need to escape HTML chracters so <test> --> &lt;test&gt; Looks like there is no built-in JS function...anyone got one handy ? thanks
1
by: Manoj Nair | last post by:
Hi, The problem : Have a system tray application.This has a menu item 'Exit'. On click of this a differnt application with a UI which runs in the background should close. The other application...
20
by: Guadala Harry | last post by:
In an ASCX, I have a Literal control into which I inject a at runtime. litInjectedContent.Text = dataClass.GetHTMLSnippetFromDB(someID); This works great as long as the contains just...
0
by: CG3000 | last post by:
I create a .PNG image ( in Macromedia Fireworks ) which has an gif in it in the top left corner and a lot of empty canvas space to the right. I use about 10 text boxes on a form to populate that...
1
by: srinivd1 | last post by:
Hi, I have a tabbed pane with 3 tabs.The content of each pane is going to be a different html based on from where the page is called. Now, i have defined the div tag for each of the panes as...
3
by: voroojak | last post by:
I have a bog problem in access what i have to do is that i have a text file that i have to insert it into access. but the problem is that there is two differnt type of data in my text file. the...
7
by: voroojak | last post by:
Hi I have a text file that has differnt information to be more clear i hav eto say that i have three differnt kind of information. the column name for all the information are same but there is...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.