Old functions return 'undefined' error once I add a jquery reference
- by Lapa
Disregard this question: I've simply confused <script src="..."></script> tag and <script> [some functions] </scipt> tags.
I have this function
function OnLoad()
{
ShowHideConfirmAnswers();
return true;
}
triggered by onload event:
<body onload=OnLoad()>
It works fine until I add src="jquery-1.4.2.js" to the script element. From this moment I get "OnLoad is not defined" error, and the same happens to every other javascript function.