JavaScript function not found in JSP

I have several JSP pages that include some JavaScript (jquery, jquery mobile and some javascript functions that I wrote).

When loading pages and trying to run my functions, I get an error in Firebug that the function was not found. I looked at the source of the page, and there is a function.

All other jquery mobile features work.

The only way to get my script to do a forced update (ctrl + f5).

Why is this happening? How can i fix this?

EDIT

It seems that a simple update will also work.

Here is the source code for the page:

http://pastebin.com/6sJnfPDQ

+3
source share
2 answers

make sure all your js files are loaded correctly.

, js .

, JS

, type script:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.js"></script>
0

, "Java" "JSP", ( ).

JSP , , .

0

All Articles