[cl-who-devel] onclick
Haris Bogdanovich
fbogdanovic at xnet.hr
Mon Apr 9 22:38:01 UTC 2012
Hi.
Why doesn't this piece of code work:
(defpackage test (:use :cl :hunchentoot :cl-who :parenscript))
(in-package test)
(defun index ()
(with-html-output-to-string (*standard-output* nil)
(:html
(:head)
(:body
(:p "click me" :onclick (ps (alert "hello")))))))
(push (create-prefix-dispatcher "/index" 'index) *dispatch-table*)
(start (make-instance 'easy-acceptor))
I loaded Edi's init file for Lispworks and I can't even autocomplete :onclick ?
When I click on "click me" nothing happens ?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cl-who-devel/attachments/20120410/7298d0cd/attachment.html>
More information about the Cl-who-devel
mailing list