title: How to call a "div id" from a href tag
body: <p>I have code like this, I want to show the <code>detailMess</code> after confirmed. So, how can I call <code>div-id</code> inside an  a-href:</p>
  <pre><code> &lt;a href=&quot;&quot; onclick=&quot;return confirm('1 time count if you click OK, Are you sure?');&quot;&gt;Show contact details&lt;/a&gt;
  
          &lt;div id=&quot;detailMess&quot; style=&quot;display: none;&quot;&gt;
          
              &lt;%  
                  string uID = &quot;-1&quot;;
                  var u = Membership.GetUser();
                  if (u != null) { uID = u.ProviderUserKey.ToString(); }
                  string U1 = Convert.ToString(Model.Load.OwnerId) ?? &quot;&quot;;
                  bool isOwner = uID.Equals(U1, StringComparison.OrdinalIgnoreCase); 
              %&gt;
              &lt;% if ((!LDC.Common.isShowLetGoContactInfor) || (User.IsInRole(&quot;Staff&quot;)) || (isOwner))
                 {  %&gt;
              &lt;%
                  if (Model.User != null &amp;&amp; Model.User.Profiles == null) { Model.User.Profiles = new LDC.Domain.Profile(); }
                  Html.RenderPartial(&quot;ContactInfo&quot;, Model);
              %&gt;
              &lt;% }
                 else
                 { %&gt;
              &lt;% Html.RenderPartial(&quot;LetgoContactInfo&quot;); %&gt;
              &lt;%} %&gt;
          &lt;/div&gt;
  </code></pre>
  <p>Somebody help me please!</p>