Ok, thanks. I am going to put them in a separate file since they won't be used anywhere else.<br><br><div class="gmail_quote">On Wed, May 26, 2010 at 7:41 AM, Michal Čihař <span dir="ltr"><<a href="mailto:michal@cihar.com">michal@cihar.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi<br>
<br>
Dne Wed, 26 May 2010 17:03:55 +0530<br>
Ninad Pundalik <<a href="mailto:ninadsp16289@gmail.com">ninadsp16289@gmail.com</a>> napsal(a):<br>
<div class="im"><br>
> I agree with Michal.  For my part, where I am planning to write jQuery<br>
> functions, I'll put the common ones in either functions.js or<br>
> common.js (the previous one seems to be included almost everywhere)<br>
> and write page specific functions in a new file and put it in /js/.<br>
> For example, all JavaScript code necessary for server_privileges.php<br>
> is in server_privileges.js.<br>
<br>
</div>Generally the function which are used in lot of (or all) places should<br>
go to some common library, while the ones used just on few pages should<br>
be placed separately to get maximum of caching in browser but to avoid<br>
loading too much on every page.<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">        Michal Čihař | <a href="http://cihar.com" target="_blank">http://cihar.com</a> | <a href="http://blog.cihar.com" target="_blank">http://blog.cihar.com</a><br>
</div></div><br>------------------------------------------------------------------------------<br>
<br>
<br>_______________________________________________<br>
Phpmyadmin-devel mailing list<br>
<a href="mailto:Phpmyadmin-devel@lists.sourceforge.net">Phpmyadmin-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Thanks,<br>Lori<br>