Ok, thanks. I am going to put them in a separate file since they won't be used anywhere else.
On Wed, May 26, 2010 at 7:41 AM, Michal Čihař michal@cihar.com wrote:
Hi
Dne Wed, 26 May 2010 17:03:55 +0530 Ninad Pundalik ninadsp16289@gmail.com napsal(a):
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.
Generally the function which are used in lot of (or all) places should go to some common library, while the ones used just on few pages should be placed separately to get maximum of caching in browser but to avoid loading too much on every page.
-- Michal Čihař | http://cihar.com | http://blog.cihar.com
Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel