This plugin is currently in BETA stage.

Documentation is under construct and may have inacurate parts. Please help us improving it by reporting invalid content/broken links.

Example: jquery / Hello world

Example Controller Template
Click here...
Hello World!
<?php

class exampleAction extends sfAction
{
  public function execute($request)
  {
    sfDynamics::load('jquery');
  }
}
<style>
  div#hello
  {
    display: none;
  }
</style>

<script>
  $(document).ready(function() {
    $('a#say-hello').click(function() {
      $('div#hello').toggle();
      return false;
    })
  });
</script>

<a href="#" id="say-hello">Click here...</a>
<div id="hello">
  Hello World!
</div>