hi all,
i am writing a script for shoutbox where users click on shout box two fields will appear message and name when they submit, their message will appear beside shout box.
my problem is how to display table which has message and name fields upon clicking shout box. any ideas?

Please post your code atleast....

hi shanthi,
i tried it myself not exactly what i wanted but i will make some more modifications. i dont want to use javascript if u have code to acheive this please post code

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<script language="javascript">
  function toggle_it(itemID){
      // Toggle visibility between none and inline
      if ((document.getElementById(itemID).style.display == 'none'))
        document.getElementById(itemID).style.display = 'inline';
      } else {
        document.getElementById(itemID).style.display = 'none';

<form action="" name="form1" method="post">
<table width="981" height="57" border="0" cellpadding="0" cellspacing="0">
    <td width="155"><a href="#" onClick="toggle_it('prl')">shoutbox</a></td>
    <td width="826"></td>
<table width="291" id="prl" style="display:none">
    <td width="95">message</td>
    <td width="196"><input type="text" name="message" ></td>
    <td><input type="text" name="name"></td>
    <td colspan="2" align="center"><input type="submit" name="submit" value="submit"></td>

I dont know any...
Perhaps this is simple...
Its good work of you praveen...
keep it up....