Hello,
I am again asking for help. Is it possible to get the text
from the elent ID into another place in the page.
For example, is it possible using asp to get page title from <p id='title'> in the code below?

<HTML>
<HEAD>
<TITLE> nothing </TITLE>
</HEAD>
<BODY>
<p id='title'>Wanted Title</p>
<p>Page content text about some stuff</p>
</BODY>
</HTML>

Thank you

Only way to do this is to include a piece of coding at the top of the page like below.

<%
Dim strPageTitle = "Wanted Titled"
%>

Now you have to reference it inside the page at the title section and your other title spot in your paragraph with:

<%= strPageTitle %>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.