Hi Lori,
On 26/05/2010, Michal Čihař michal@cihar.com wrote:
Hi As we want to get rid of inline javascript, it should probably go to some file in js/ directory. In this case probably in new file.
-- Michal Čihař | http://cihar.com | http://blog.cihar.com
I agree with Michal. For my part, where I am planning to write jQuery functions, I'll put the common ones in either functions.js or common.js (the previous one seems to be included almost everywhere) and write page specific functions in a new file and put it in /js/. For example, all JavaScript code necessary for server_privileges.php is in server_privileges.js.