| HTML::Prototype::Useful - Some useful additions for the Prototype library. |
HTML::Prototype::Useful - Some useful additions for the Prototype library.
use HTML::Prototype::Useful; $protype=HTML::Prototype::Useful->new(); print $prototype->call_remote( ... ) print $prototype->lazy_observe_field( .. )
this adds some more useful features for AJAX development based on the Prototype library, as L<HTML::Prototype> is a straight port of the ruby implementation.
Returns the javascript required for the HTML::Prototype manpage as well as this module.
Generate a remote function that you can stuff into your js somewhere.
like the HTML::Prototype manpage's observe_field method, but only detect
changes after a user has stopped typing for frequency.
Observes the element with the DOM ID specified by $id and makes an Ajax when you hover the mouse over it for at least <frequency> seconds.
Takes the same arguments as observe_field.
the HTML::Prototype manpage, the Catalyst::Plugin::Prototype manpage, Catalyst. http://prototype.conio.net/
mramberg@cpan.orgSebastian Riedel for the HTML::Prototype manpage
This library is free software. You can redistribute it and/or modify it under the same terms as perl itself.
| HTML::Prototype::Useful - Some useful additions for the Prototype library. |