[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] spock and jquery?

From: Seth Alves
Subject: Re: [Chicken-users] spock and jquery?
Date: Sat, 25 Aug 2012 15:17:23 -0700

This is hacky, but runs...

(define ($ x)
  (%code "arguments[1] = $(arguments[1]);")

(define (main-program event)
  (%inline .append ($ "#top-div") "<span>some appended text</span><br>"))

(%inline .addEventListener (%host-ref "window") "load" (callback main-program))


On Wed, Aug 15, 2012 at 1:54 PM, Seth Alves <address@hidden> wrote:
> Does anyone have an example of using spock and jquery together?
>     -seth

reply via email to

[Prev in Thread] Current Thread [Next in Thread]