I'm not able to use jQuery/jQuery UI on my Play Framework application. I have included all the necessary stylesheets and js files. The page loads properly but Firebug error console shows Jquery Undefined
. I cannot understand what's wrong here. Any ideas?
相关问题
- How to fix IE ClearType + jQuery opacity problem i
- jQuery add and remove delay
- Include empty value fields in jQuery .serialize()
- Disable Browser onUnload on certain links?
- how to get selected text from iframe with javascri
You need to include your jQuery- and jQueryUI-files on your page. How does your
<script>
-tags look in your<head>
-section of your page?JQuery is included by default in the main.html, which if you have extended the skeleton code that is created when you create a new play application, it is possible by adding your own script tags for jquery and jquery-ui, they are conflicting with the version already included?
Actually looks like a syntax error.
Are you using this syntax ?
Plus if you try to include a file in play that does not exist if there is an error, play will display an error and not launch application. Makes me think, you are using jQuery the wrong way.
Checkout jQuery documentation and make sure, this is not a jQuery related issue.