Re: Joel on Anonymous methods
- From: "Francisco Ruiz" <francis@xxxxxxxxx>
- Date: Thu, 31 Jul 2008 16:01:37 +0100
Another good example about the powerfull of anonymous methods could be the
JQuery library (jquery.com). There you can do something like this:
$.('.Class').click(function() { alert($(this).html()) })
In this one line example, I'm attaching an onclick event handler to all of
the elements in a html page of the class 'class' which will show its html
content in an alert message.
Francisco Ruiz
.
- References:
- Joel on Anonymous methods
- From: Jan Derk
- Re: Joel on Anonymous methods
- From: Dan Downs
- Joel on Anonymous methods
- Prev by Date: Re: Delphi late to the Win64 party
- Next by Date: Re: Tiburon and SubVersion support
- Previous by thread: Re: Joel on Anonymous methods
- Next by thread: Delphi late to the Win64 party
- Index(es):
Relevant Pages
|