Guest User

Untitled

a guest
May 24th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. <span runat='server' id='span'>Whatever</span>
  2.  
  3. span.InnerHtml = "I'm red now!";
  4. span.Attributes.Add("class", "red");
  5. span.Attributes.Add("style", "background-color:red");
  6.  
  7. <button onclick="myFunction()" runas="server" ID='but'>Click me</button>
Add Comment
Please, Sign In to add comment