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?
thanks

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

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>
<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';
      }
  }
</script>

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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.