Script not working in WordPress [duplicate]

Your script doesn’t work because you’re using $. When WordPress loads jQuery, it does so using no-conflict mode. This disables the $. Replace is with a jQuery instead.

tech