title: SyntaxError: expected expression, got '.' Jquery
body: <p>I am trying to change the text of a textbox when a checkbox is checked and i get this error on the console </p>
  
  <blockquote>
    <p>SyntaxError: expected expression, got '.'</p>
  </blockquote>
  
  <p>Its probably something very simple, but i cant figure this out</p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;input type="checkbox" name="pgManageCS:frmManageCS:pbSettings:pbsDupeMatch:pbsiDupeMatch:chkwebsiteDomain" id="pgManageCS:frmManageCS:pbSettings:pbsDupeMatch:pbsiDupeMatch:chkwebsiteDomain"&gt;
  
  &lt;input id="pgManageCS:frmManageCS:pbSettings:pbsDupeMatch:icConvMatchFieldInLeadForAccount" type="text" value="Company" size="20" name="pgManageCS:frmManageCS:pbSettings:pbsDupeMatch:icConvMatchFieldInLeadForAccount" maxlength="80"&gt;
  </code></pre>
  
  <p><strong>Javascript</strong></p>
  
  <pre><code>    $(document).ready(function () {
  
     $('#pgManageCS:frmManageCS:pbSettings:pbsDupeMatch:pbsiDupeMatch:chkwebsiteDomain').change(function() {
         if ('#pgManageCS:frmManageCS:pbSettings:pbsDupeMatch:pbsiDupeMatch:chkwebsiteDomain').is(':checked')) {
           $('#pgManageCS:frmManageCS:pbSettings:pbsDupeMatch:icConvMatchFieldInLead').val('Website_Domain__c');
         }
         else{
           $('#pgManageCS:frmManageCS:pbSettings:pbsDupeMatch:icConvMatchFieldInLead').val('Company');
         }
      });
  
  });
  </code></pre>
  
  <p><a href="https://jsfiddle.net/k74891hy/2/" rel="nofollow" title="JSFiddle">JSFiddle</a></p>