10 Apr 2012 00:38
onclick
Haris Bogdanovich <fbogdanovic <at> xnet.hr>
2012-04-09 22:38:01 GMT
2012-04-09 22:38:01 GMT
Hi.
Why doesn't this piece of code
work:
(defpackage test (:use :cl :hunchentoot :cl-who
:parenscript))
(in-package test)
(in-package test)
(defun index ()
(with-html-output-to-string (*standard-output* nil)
(:html
(:head)
(:body
(:p "click me" :onclick (ps (alert "hello")))))))
(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
<div> <div>Hi.</div> <div> </div> <div>Why doesn't this piece of code work:</div> <div> </div> <div>(defpackage test (:use :cl :hunchentoot :cl-who :parenscript))<br>(in-package test)</div> <div> </div> <div>(defun index ()<br> (with-html-output-to-string (*standard-output* nil)<br> (:html<br> (:head)<br> (:body<br> (:p "click me" :onclick (ps (alert "hello")))))))</div> <div> </div> <div>(push (create-prefix-dispatcher "/index" 'index) *dispatch-table*)</div> <div> </div> <div>(start (make-instance 'easy-acceptor))</div> <div> </div> <div>I loaded Edi's init file for Lispworks and I can't even autocomplete :onclick ?</div> <div>When I click on "click me" nothing happens ?</div> <div> </div> <div>Thanks</div> <div><br></div> </div>
RSS Feed