Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head runat="server">
- <title></title>
- <link href="StyleSheet.css" rel="stylesheet" type="text/css" />
- <script language="javascript" type="text/javascript">
- <!--
- function doClear(obj) {
- if (obj.value == "" || obj.value == obj.title) {
- obj.value = "";
- }
- obj.className = "unwatermarked";
- }
- function doBlur(obj) {
- if (obj.value == "" || obj.value == obj.title) {
- obj.value = obj.title;
- obj.className = "watermarked";
- }
- }
- //-->
- </script>
- </head>
- <body>
- <form id="form1" runat="server">
- <div>
- <asp:TextBox ID="TextBox1" runat="server" Width="400px" OnInit="TextBox1_Init" CssClass="watermarked"
- ToolTip="Enter search terms or SKU"></asp:TextBox><br />
- <asp:TextBox ID="TextBox2" runat="server" Width="400px" OnInit="TextBox1_Init" CssClass="watermarked"
- ToolTip="Enter some other data"></asp:TextBox><br />
- <asp:Button ID="Button1" runat="server" Text="Button" />
- </div>
- </form>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment