HTML code modification dynamically

  • Thread starter Maziar Aflatoun
  • Start date
M

Maziar Aflatoun

Hi everyone,

I have the following HTML code and I like to change the value of REFRESH
content from 2 to something else at runtime.
Any suggestions?

<HTML>
<HEAD>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
<meta http-equiv="REFRESH" content="2;url=Default.aspx">
</HEAD>

Thank you
Maziar Aflatoun
 
T

Teemu Keiski

You have this as ASP.NET page? Just put the <meta> tag wirh runat="server"
attribute and an ID. You can then access its properties via its ID (member
in practise).
 

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

Top