Hello Angelo,

in case you stil need a hint - here it is (off the top of my head)

****** TEMPLATE *****
        <script>
            function asyncCall () {
                $.ajax({
                    url: "myPage", // i think case doesn't matter
                    success: function(msg){
                        alert(msg); // <-- try with small page that will fit
the alert dialog
                    }
                });
            }
        </script>

****** TEMPLATE MyPage.htm*****
<html>
  <body>
    <p>Hello from MyPage</p>
  </body>
</html>

Cheers,
Borut


2007/10/8, Angelo Chen <[EMAIL PROTECTED]>:
>
>
> Hi Borut,
>
> Your tip works well, thanks. now this jQuery really make Ajax an easy task
> in T5. in another case, say, i would like to do this:
>
> $('#stats').load('Stats1.html');
>
> this is easy if Stats1.html is just a plain html, if It's a T5 page,
> exampe,
> I'd like T5 to render a page and the result will be 'loaded', any idea how
> to do this? thanks.
> A.C.
>
>
>
> Borut Bolčina-2 wrote:
> >
> > Hello Angelo,
> >
> > look how variable url is constructed.
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/T5%3A-A-simple-Ajax-need%28JQuery%29-tf4580040.html#a13089752
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to