symfony/symfony-docs — pull request #3228 by Danez (2013-11-27 10:24:52+00:00)
Title: Fixed Typo and better example

There is a $ missing in the JS code.

I also added two lines from the referenced function, to make clear, that you do not have to add it at the beginning of this function but after the first two lines.