Today i figured out that other the "standard way" to include jquery and jqueryui:
<link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/smoothness/jquery-ui.css">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"></script>
There is another way, with the google jsapi:
<script src="//www.google.com/jsapi"></script>
<script>
google.load("jquery", "1.4.2");
google.load("jqueryui", "1.7.2");
$(function() { $( document ).tooltip(); });
</sciprt>
Is the jsapi method better?
Because i've tried the jsapi method but it seems that only works with jquery and doesn't work with jqueryui, in fact the tooltip is not shown. What's wrong? Should I include the jquery css too? or maybe I need a key?