[jifty-devel] Support for many javascript triggers (onchange,
onmouseover, etc.) committed
Andrew Sterling Hanenkamp
sterling at hanenkamp.com
Tue Aug 14 15:35:40 EDT 2007
Cool. Edward++
On 8/14/07, Edward Funnekotter <efunneko at gmail.com> wrote:
>
> Hi all,
>
> Just letting you know that the Jifty HEAD now contains support for the
> following triggers on most form fields:
>
> onclick onchange ondblclick onmousedown onmouseup onmouseover onmousemove
> onmouseout onfocus onblur onkeypress onkeydown onkeyup onselect
>
> The rules are pretty much the same as what you would have previously used
> for onclick within a link or button.
>
> E.g. The following will submit an action and refresh the region when a
> Select item is changed by the user.
>
> <% $action->form_field('select_item', render_as => 'Select',
> onchange => {submit => $action,
> refresh_self => 1,
> args => { show_fields => 1,
> }
> } )%>
>
>
> Let me know if there are any problems.
>
> Enjoy,
> Edward
>
> _______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bestpractical.com/pipermail/jifty-devel/attachments/20070814/f6795f24/attachment.htm
More information about the jifty-devel
mailing list