How can I prevent this jQuery function from being executed on every page load?
问题 I believe I have a solution to my problem, but I want to be sure. This is what I have: <html>... <body>... <script type="text/javascript" src="../JS/jquery.js"></script> <script type="text/javascript" src="../JS/respond.min.js"></script> <script type="text/javascript" src="../JS/jquery.min.js"></script> <script type="text/javascript" src="../JS/validate.js"></script> <script type="text/javascript" src="../JS/jQueryCalls.js"></script> ... <form name="login-form" class="login-form" method="post