<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %> <form id="form1" runat="server" method="get" action="http://www.google.com/search"> <input type="text" id="field" name="q" size="25" style="width: 140px; height: 30px; background-color: Transparent; border-color: Transparent; border-style: none; border-width: 0px" maxlength="255" value="Google site search" onfocus="if(this.value==this.defaultValue)this.value=''; this.style.color='black';" önblur="if(this.value=='')this.value=this.defaultValue; " /> <input type="hidden" name="sitesearch" value="http://data-pointonline.com/" /> </form> <script type="text/javascript"> $(function () { $("#field").keyup(function (event) { if (event.which == 13) { document.myform.submit(); } }); }); </script>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)