Ho provato anche così mettendo tutto nella stessa cartella ma non funziona lo stesso
codice HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="description" content=""/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>switchClass demo</title>
<link rel="stylesheet" href="jquery-ui.css" type="text/css"/>
<style>
div {
width: 100px;
height: 100px;
background-color: #ccc;
}
.big {
width: 200px;
height: 200px;
}
.blue {
background-color: #00f;
}
</style>
<script type="text/javascript" src="jquery-1.10.2.js"></script>
<script type="text/javascript" src="jquery-ui.js"></script>
</head>
<body>
<div class="big"></div>
<script>
window.onload = function() {
$( "div" ).click(function() {
$( this ).switchClass( "big", "blue", 1000, "easeInOutQuad" );});};
</script>
</body>
</html>