I have the following script:
<div>
  <p id="example1"></p>
  <div></div>
  <p id="example2"></p>
  <div></div>
  <p id="example3"></p>
  <p id="example4"></p>
  <p id="example5"></p>
</div>
Is it possible to write a jquery function to determine the total number of element id with matching this keyword "example" when the page is loaded?
Thanks in advance!
 
     
     
    