Why this jQuery code doesn't work? I'm using the lastest Mozilla Firefox and Google Chrome version. I don't know how to fix this porblem.
<!DOCTYPE html>
<html>
<head>
<style>
ul > ul {display: none;}
</style>
</head>
<body>
<script src="http://code.jquery.com/jquery-1.11.2.min.js"></script>
<script>
$( "li" ).click(function() {
$( "ul > ul" ).css( "display", "inline" );
});
</script>
<ul>
<li>Capitolo1</li>
<ul>
<li>Paragrafo 1</li>
<li>Paragrafo 2</li>
<li>Paragrafo 3</li>
</ul>
<li>Capitolo2</li>
<ul>
<li>Paragrafo 1</li>
<li>Paragafo 2</li>
<li>Paragrafo 3</li>
</ul>
<li>Capitolo3</li>
<ul>
<li>Paragrafo 1</li>
<li>Paragafo 2</li>
<li>Paragrafo 3</li>
</ul>
</ul>
<!-- Questo è un commento -->
</body>
</html>
Thank you very much!