$(function() {
// code to execute when the DOM is ready
$(".dirdiv").attr("dir", "ltr")
}); and every node with class "dirdiv" have attribute "dir" set to "ltr"/davidB
Note: You mix feature 0.4 (jquery-1.2.1) and 0.5-SNAPSHOT (Lift:Hello.wrap) :)
/davidB
/davidB
Great feature!
I propose to add an alias to call it "lift:attr" because that's more intuitive than lift:snippet.
I'm going to bring it into line with the other lift snippet stuff so you'll be able to say:
Viktor Klang wrote:Great feature!
I propose to add an alias to call it "lift:attr" because that's more intuitive than lift:snippet.
<div lift:foo.bar="baz">
the bar method on Foo will be called with the Seq[Node] = Text("baz")
That won't happen before 0.5 is frozen, but will happen soon after.
Oh as I can see it is about setting the polling interval for Comet.
Correct?
Collaborative Task Management http://much4.us