A year later...

How 'bout we do this?

http://gist.github.com/102196

-- Yehuda

On Mon, Jul 7, 2008 at 4:58 AM, Dan G. Switzer, II
<[email protected]>wrote:

>
> >It would be great to add this functionality to the .html();
> >
> >$('#element').html(function(){
> >return 'xxx';
> >});
> >
>
> You can use:
>
> $('#element').html((function (xxx){
>        return xxx + " a new string";
> }))(xxx));
>
> -Dan
>
>
> >
>


-- 
Yehuda Katz
Developer | Engine Yard
(ph) 718.877.1325

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to