- SEE ALSO
- AUTHOR Marcus Ramberg, email@example.com
- THANK YOU
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.
Generate a remote function that you can stuff into your js somewhere.
like HTML::Prototype's observe_field method, but only detect changes after a user has stopped typing for
- $p->observe_hover( $id \%options );
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.
Sebastian Riedel for HTML::Prototype
This library is free software. You can redistribute it and/or modify it under the same terms as perl itself.