Register now or log in to join your professional community.
No, because javascript is use for some backend code for functions but not to connect to your localhost as your server.
no ,javascribt just for interface to the user in your case you must work on server as servlet or jsp in javaEE then you take the data throw the interface
and connect on database throw the server