Haris, I'd write this:
(html ((:td :onclick (ps (setf (@ this :background-color) 'blue))) "text")) to emit this: <td onclick="this.backgroundColor = 'blue';">text</td> But that's in LML2, not CL-WHO. If I recall correctly, the reason we switched from LML2 to CL-WHO was greater regularity with macroexpansions, so YMMV. Daniel On Sun, Jun 20, 2010 at 12:42 PM, Haris Bogdanović <[email protected]>wrote: > Sorry, I wrote that wrong. > I want to set background color of td cell like this: > > <td onclick='this.bgcolor="blue"'> text </td> > > with cl-who and ps like: > > (:td :onclick (ps ("what goes here to get 'this.bgcolor="blue"' ? "))) > > Thanks > > _______________________________________________ > parenscript-devel mailing list > [email protected] > http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel > >
_______________________________________________ parenscript-devel mailing list [email protected] http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
