Target Element After Added to DOM Inside Window Resize

Target Element After Added to DOM Inside Window Resize

I can't seem to target an element created by ajax and then added to the DOM.  The targeting is done when a window resize is done.

My code:
  1. $(window).resize(function() {
  2.   var mythis = $('#wrapperdiv #newdiv');
  3.   console.log('Mythis: ' , mythis); // Returns - n []  ie. not in dom
  4. });

Is there an easy way to target mythis  ?