<!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>
<title>Example</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
</head>
<body>
<ul id="myList">
<li>Item A</li>
<li>Item B</li>
<li>Item C</li>
</ul>
<script type="text/javascript">
/*<![CDATA[*/
alert('There are ? Items in the list #myList');
/*]]>*/
</script>
</body>
</html>
|