Uncaught ReferenceError: $ is not defined when I export my subscribers list

Uncaught ReferenceError: $ is not defined when I export my subscribers list

Hi there,

I have upgraded jQuery from 1.12 to  version 3.3.1 and I`m getting the following error when I  export my subscribers list.

  1. Uncaught ReferenceError: $ is not defined
  2.     at ?page=export&tk=80aa620528864c2037ffc50ba119b2c2:516

The line where redirects the error is the following:
  1. echo '<script type="text/javascript">$("#exportdates").hide();</script>';

Could you please help me on that? Any light wold be very appreciated.

Thanks!