From andy.arvid@gmail.com Sun Apr 3 21:21:35 2011 From: Andy Peterson To: tbnl-devel@common-lisp.net Subject: Re: [hunchentoot-devel] ht-simple-ajax Date: Sun, 03 Apr 2011 21:21:01 -0400 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3343675182559081688==" --===============3343675182559081688== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Your html is correct and works. I used hunchentoot to dispatch it as a static html file and it communicates with the ajax-processor I created from your previous code. The problem is probably with your ajax response. If using chrome, developer tools will show the ajax request/response. If using Firefox, use firebug. andy On Sun, Apr 3, 2011 at 7:10 PM, Haris wrote: >> Use the parenscript function ps-inline instead of ps >> (:a :href (ps-inline (say-hi)) "Say Hi!") > > I did that and now when I click Say hi link I just get Error on page on the > bottom of the page, javascript error I guess. > Here is html generated from my code, maybe the error is more obvious this > way > > ---------------------------------------------------------------------------= ------ > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > > > =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 =C2=A0 =C2=A0ht-simple-ajax demo > =C2=A0 =C2=A0 > =C2=A0 =C2=A0 > =C2=A0 > =C2=A0 > =C2=A0 =C2=A0

> =C2=A0 =C2=A0 =C2=A0Please enter your name: > =C2=A0 =C2=A0 =C2=A0 > =C2=A0 =C2=A0

> =C2=A0 =C2=A0

> =C2=A0 =C2=A0 =C2=A0 > =C2=A0 =C2=A0 =C2=A0 =C2=A0Say Hi! > =C2=A0 =C2=A0 =C2=A0 > =C2=A0 =C2=A0

> =C2=A0 > > > > _______________________________________________ > tbnl-devel site list > tbnl-devel(a)common-lisp.net > http://common-lisp.net/mailman/listinfo/tbnl-devel > --===============3343675182559081688==--