I have an input textbox and I need to access it from both JavaScript and server side C#. If I insert runat="server", the control will be accessible only from the server.
<input id="txtSearch" /> // Accessible only from JavaScript
<input id="txtSearch" runat="server"/> // Accessible only from C#