In this application I am working on, there are 2 files:
1) .html file which contains the JavaScript code;
2) .js file which contains multiple functions.
In the .html file, there is a line to refer to the .js file.
In my implementation, some of the functions in the .js can be called properly, but some of them returns 'Not defined', which means the function call gets failure to access to the referenced .js file.
For instance, in the .html,
<input id="btn_ImgMap" type="button" name="Street" value="Imagery" class="tabButton" />
I put breakpoints for debugging on both functions above. The 1st function works properly, but the 2nd one does not work ( actually the events: onmouseover, onmouseout and onfocus are not implemented).
How can this bug be solved? Thanks in advance if you can share your experience.