Hello all,
I am new to Tapestry and to Web development in general but I have to
implement a simple web application for my research.

I use a div that when loading the page I need to hide it, so I use this
line:
 <div id="div1" class="grid3" scroll="true" style="display:none">
The div contains "inside it" a grid that will contain some elements after a
"load" button is pressed.
how can I unhide the div again "after pressing the load button"?

I know that I could do this with JS Line of code like:
 document.getElementById("div1").style.display ="";
But how and where can I add a javascrpt line of code directly in my Java
class?

Thansk in advance

-- 



*Marwa Hussein M. TA @ Information Systems Department Faculty of Computers
& Information Assuit University*
<imanhe...@yahoo.com>

Reply via email to