title: Oracle Apex 19.2 custom event javascript expression $("#id").length > 0 not working
body: <p>Oracle Apex 19.2 custom event javascript expression $(&quot;#id&quot;).length &gt; 0 not working</p>
  <p>It was  working in apex 5.0.2 version</p>
  <p>It throws below error:</p>
  <pre><code>Uncaught TypeError: Object.defineProperty called on non-object
      at Function.defineProperty (&lt;anonymous&gt;)
      at Y.cache (jquery.min.js:2:32350)
      at Y.get (jquery.min.js:2:32566)
      at Object.add (jquery.min.js:2:40318)
      at e.event.add (jquery-migrate-3.0.1.min.js?v=19.2.0.00.18:144:11)
      at Boolean.&lt;anonymous&gt; (jquery.min.js:2:39656)
      at Function.each (jquery.min.js:2:2777)
      at e.fn.init.each (jquery.min.js:2:1419)
      at Ae (jquery.min.js:2:39632)
      at e.fn.init.on (jquery.min.js:2:46222)
  </code></pre>