title: Name a JS Function by clientId
body: <p>I have the following control on my page:</p>
  
  <pre><code>        &lt;abc:OrcaShowHidePanelExtender ID="NumberPlate" ShowHideControlID="RadioButtonListNumberPlate"
              TargetControlID="panelNumberPlate" runat="server" 
              ShowHideClientPredicate="NumberPlate_ClientPredicate" /&gt;
  </code></pre>
  
  <p>So this is used to hide/show a panel on screen.  The problem now is I have 3 tabs and I need to show hide the panel on the 3 tabs which are on the same page.</p>
  
  <pre><code>        function NumberPlate_ClientPredicate() {
  
              return $('#&lt;%= RadioButtonListNumberPlate.ClientID %&gt; input:radio:checked').val() === 'Yes';
  }
  </code></pre>
  
  <p>My question is can I add Client Id to the function so the each panel would call the function idependently as it only calls for the final panel at the minute</p>
  
  <p>so I tried the below but with no success:</p>
  
  <pre><code> function  $('#&lt;%= NumberPlate_ClientPredicate.ClientID %&gt;')() {
  //my return check
  }
  </code></pre>