Message from JavaScript discussions

November 2020

β€” No this is not what I mean

β€” 

I have this script in 1 js file and the js file is called in the register page and the login page but it can't find the form on the registerpage

β€” So I get an error

β€” Bad practice is, for example when you use jquery (old approach instead of new), in your case seems everything is screwed🀀

Message permanent page

β€” I i'm forced to use jquery at work xD

β€” Bad practice man!

β€” Because everyone else use jquery and they must be sure that when they open one of my projects they can edit it easely

Message permanent page

β€” determin1st good help

β€” How do I put 2 of those functions in 1 file

β€” And only call the right one in each page

β€” I've got this project, single entry point where scripts included

β€” May include one big js file or multiple, doesn't matter