HTML code modification dynamically

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Maziar Aflatoun

    #1

    HTML code modification dynamically

    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="Micros oft Visual Studio .NET 7.1">
    <meta name="CODE_LANG UAGE" Content="C#">
    <meta name="vs_defaul tClientScript" content="JavaSc ript">
    <meta name="vs_target Schema"
    content="http://schemas.microso ft.com/intellisense/ie5">
    <meta http-equiv="REFRESH" content="2;url= Default.aspx">
    </HEAD>

    Thank you
    Maziar Aflatoun




  • Teemu Keiski

    #2
    Re: HTML code modification dynamically

    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).

    --
    Teemu Keiski
    MCP, Microsoft MVP (ASP.NET), AspInsiders member
    ASP.NET Forum Moderator, AspAlliance Columnist




    "Maziar Aflatoun" <maz00@rogers.c om> wrote in message
    news:V%cRc.743$ dL2.710@news04. bloor.is.net.ca ble.rogers.com. ..[color=blue]
    > 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="Micros oft Visual Studio .NET 7.1">
    > <meta name="CODE_LANG UAGE" Content="C#">
    > <meta name="vs_defaul tClientScript" content="JavaSc ript">
    > <meta name="vs_target Schema"
    > content="http://schemas.microso ft.com/intellisense/ie5">
    > <meta http-equiv="REFRESH" content="2;url= Default.aspx">
    > </HEAD>
    >
    > Thank you
    > Maziar Aflatoun
    >
    >
    >
    >[/color]


    Comment

    Working...