Select Action Html


< link href="StyleSheet.css" rel="stylesheet" type="text/css" / >
< script >
function FntClr(Redid)
{
if(Redid==1)document.getElementById ("lblName").className ='fntBold1';
if(Redid==2)document.getElementById ("lblName").className ='fntBold2';
if(Redid==3)document.write ("< marquee direction='right' >Jayakumar< /marquee >");
}
< /script >
< /head >
< body >
< form id="form1" runat="server" >
< select onchange ="FntClr(this.value)" >
< option value ="1" >Bold< /option >
< option value ="2" >Italic< /option >
< option value ="3" >Marquee< /option >
< /select >
< /form >
< asp:Label ID="lblName" Text ="Jayakumar" runat ="server" >< /asp:Label >


Comments

No responses found. Be the first to comment...


  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: