title: How to insert the ClientID of a div into an OnClientClick event
body: <p>In the XHTML for a page I have:-</p>
  
  <pre><code>&lt;asp:Button ID="bookNowButton" runat="server" CssClass="bookNowButton"
              OnClientClick="showHideLoggedInDiv('&lt;%=bookingFormDiv.ClientID%&gt;')" /&gt;
  </code></pre>
  
  <p>This breaks.  I need the correct syntax or method to insert the bookingFormDiv.ClientID into the control. </p>
  
  <p>What needs to be done?</p>