Message from JavaScript discussions

February 2019

— What is the error here? I cannot display message on the <p> tag


First of all i would load the JS between line 21 and 22 (between the closing body and closing html tag) to prevent white pages on loading. Have you debugged the function and checked that its being executed?

— No

— How to hide javascript code in browser?

— Any idea?

— No way

— Use a server!

— How can we send a message from front end to backend using Ajax in JavaScript?

— Anybody know? Please explain?

— Use a Server, create a route there and then send the message in the Body of your ajax

— Example code please

— I am working as front end developer beginner .I don't know more about backend..