Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Add $js->each()

#11

each($callback)
Create a snippet that iterates over the currently selected elements, and inserts $callback.

Example
$js->get('div.message'); $js->each('$(this).css({color: "red"});'); Using the jQuery engine would create the following Javascript

$('div.message').each(function () { $(this).css({color: "red"});});

Reported by Sean Templeton · January 30th, 2010 @ 12:09 AM

State: resolved
Milestone: DojoCake 1.3.2
Assigned to: Sean Templeton Sean Templeton

Activity

  1. Sean Templeton
    Sean Templeton
    • State changed from new to resolved

    January 30th, 2010 @ 12:12 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.