Page Title

M

Matt Tapia

Does anyone know how change the HTML Page title text without using a
code-behind page?
I would like to do this using front side code between <script> tags.

thanks!
 
W

William F. Robertson, Jr.

Why don't you just change it in the html title tag?

<title>title</title>

or

dim bob = "new title"

<title><%bob%></title>

bill
 
S

Showjumper

Add the runat =server to the title tag and make it an html generic control.
Then do something like
PageTitle.InnerText = ds.Tables(0).Rows(0).Item("ArticleTitle")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,077
Messages
2,570,567
Members
47,203
Latest member
EmmaSwank1

Latest Threads

Top