title: can i identify a link that have an imag with certain href
body: <p>I am working on a web application, and i need to adjust a People Picker dialog height. currently to keep firing the script when the user open/close the dialog , i set a timer (2 seconds for the script to run), as follow:-</p>
  
  <pre><code>var interval = null; //Defines the start interval variable
  
  $(document).ready(function () { // jQuery needed for this
      /* People Picker Fix Starts */
      if (navigator.appVersion.indexOf("MSIE 10") &gt; -1) { // IE 10 Specific condition for People Picker Bug
         interval = setInterval(adjustPeoplePicker, 2000);
      }
      /* People Picker Fix Ends */
  });
  
  function adjustPeoplePicker() {
      if ($('.ms-dlgFrame').contents().find('#resultcontent').length &gt; 0) {
          $('.ms-dlgFrame').contents().find('#resultcontent').css('height', '350px');
          $('.ms-dlgFrame').contents().find('#MetadataTreeControlTreeSearch').css('height', '350px');
         //clearInterval(interval);
      }
  }
  </code></pre>
  
  <p>here is the realted markup for the dialog to open:-</p>
  
  <pre><code>&lt;a id="ctl00_ctl41_g_a4fb58d0_ad0d_40cf_a4a3_ccabea410e43_ff141_ctl00_ctl00_UserField_browse" href="javascript:" onclick="__Dialog__ctl00_ctl41_g_a4fb58d0_ad0d_40cf_a4a3_ccabea410e43_ff141_ctl00_ctl00_UserField(); return false;" title="Browse"&gt;
  &lt;img alt="Browse" src="/_layouts/15/images/addressbook.gif" title="Browse"&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>so my question if i can fire the script only when the user click on <code>&lt;a&gt;</code> that have an <code>&lt;imag&gt;</code> inside it where the imag <code>src =  addressbook.gif</code> , instead of keeps firing the script every 2 seconds??</p>