title: Reverse engineering which javascript/ jquery function is being called
body: <p>I need assistance determining what is doing client side validation on a site.</p>
  
  <p>There is a web form on a site, and it does some client side validation on a field labelled Email (named Question2). This is the page: <a href="http://www.home-energy-analytics.co.uk/concrete5.6.1/index.php?cID=132" rel="nofollow">http://www.home-energy-analytics.co.uk/concrete5.6.1/index.php?cID=132</a>. </p>
  
  <p>If you add a "1" to the email field and then change the focus to another element, you'll see the border turn red. If you try to submit the form, the client prevents it, and shows what looks like an absolutely positioned div with the text, "Please enter an email address". It doesn't seem possible to inspect this element using firefox or firebug. I have checked all the inline scripts and those in separate files, but cannot see what is doing these validations.</p>
  
  <p>It looks like there may be a script which is created dynamically by the client using the ccm_addHeaderItem function in the <em>ccm-base</em> script, but I cannot see how that function is being called, in order to work out the URL of any dynamically created script.</p>
  
  <p>Are you able to find the function(s) doing these validations?</p>
  
  <p>Note, as this is a concrete5 site, I have asked on the concrete5 forums without success.</p>