On Mon, Oct 5, 2020 at 9:28 AM marwa hussein <marwa.huss...@gmail.com> wrote:
> On Mon, Oct 5, 2020, 2:22 PM Thiago H. de Paula Figueiredo < > thiag...@gmail.com> wrote: > > > On Sun, Oct 4, 2020 at 8:37 AM marwa hussein <marwa.huss...@gmail.com> > > wrote: > > > > > Hi Thiago, > > > > > > > Hello! > > > > > > > Thanks a lot for your reply it works fine but the problem is using this > > > line of code in beginRender() function shows the "div" when the page is > > > loaded. but What I want is to show the div after a button is pressed. > > > > > > > In this case, just write the same JavaScript you'd do as if you weren't > > using Tapestry. > > > > Do you mean to write a JS function and call it from the onSubmit() > function and not to use JavaScript support?. > No. Write it in a .js file you include in the page. That's what I meant by writing the same JS as if you weren't using Tapestry. -- Thiago