Studyon Minte9.com
ZF 1.0




jQuery



#Application/layouts/frontend.phtml
<?php 
	$this->headScript()->prependFile("http://code.jquery.com/jquery-1.5.min.js"); 
?>
<html>
<head>
	<?php 
		echo $this->headScript()."n"
	?>
</head>
<body>
	Layout frontend
	<br>
	<?php echo $this->layout()->content; ?>
</body>
</html>


#view
<button>Toggle</button>

<p>This is the paragraph</p>

<script>
    $("button").click(function () {
      $("p").slideToggle("slow");
    });
</script>


Current release
http://docs.jquery.com/Downloading_jQuery#Download_jQuery