Show error next to form field
I got a form in a PHP file, and i got a few questions to ask
1. i have written my validation code in a *.js file. How can i call it in my PHP page?
2. how can i make my validation code show the error (if any) next to the form field? is this done using <div> tag? if so then how?
3. Can i call a *.js file from another *.js file or can i call a function in a *.js file from another *.js file?
thanks
kimoo

