[parenscript-devel] XMLHttpRequest

Vladimir Sedach vsedach at gmail.com
Sun Apr 17 01:14:45 UTC 2011


(alert (my-lisp-function))

On Fri, Apr 15, 2011 at 1:17 PM, Haris <fbogdanovic at xnet.hr> wrote:
> I made a code like this:
>
> (defun func ()
>    (let ((xhr (new ((@ window -x-m-l-http-request)))))
>        (chain xhr (open "GET" "/something.xml"))
>        (chain xhr (send null))
>         (setf (@ xhr onreadystatechange) (alert "abc"))))
>
> Then I made :onclick event to call a function "func"
> and when I click I get the messagge box "abc".
> How to get some lisp function return value in the messagge box ?
>
>
>
>
>
> _______________________________________________
> parenscript-devel mailing list
> parenscript-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
>




More information about the parenscript-devel mailing list