Ńņ
e>õGc @ sq d Z d d k Z d d k Td Z d Z d Z d Z d Z d Z d
Z d d d
d g Z
d S( s
Javascript Helpers
Provides functionality for working with JavaScript in your views.
Ajax, controls and visual effects
---------------------------------
* For information on using Ajax, see `Prototype Helpers
`_.
* For information on using controls and visual effects, see
`Scriptaculous Helpers `_.
i’’’’N( t *c K s6 t d d d d | } | i | t d | | S( są
Return a link that'll trigger a JavaScript ``function`` using the
onclick handler and return false after the fact.
Example::
link_to_function("Greeting", "alert('Hello world!')")
t hreft #t onclicks %s; return false;t a( t dictt updatet content_tag( t namet functiont html_optionst options( ( s? /usr/lib/python2.6/site-packages/webhelpers/rails/javascript.pyt link_to_function s
c K s<