Help !
I am new to jsp.

I am writing the part of my code. It has 4 textbox fields - Name, Module, Module, Contact no.
In my code 4 rows are created each having the 4 fields.

What I want is that after user comes to the 2nd row, 3rd should automatically generate and when he comes to 3rd row,4th should automatically and so on.........

Now tell me what taglibraries to use and what required coding to be done.

Note : I haven't posted the full code !

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@page import="org.ims.dto.*"%>
<%@page import="org.ims.inc.ejb.*"%>




<tr bgcolor="#ECE9D8">
        <td height="17" colspan="5"><div align="center"><span class="style28">Release Contact Details </span></div></td>
      </tr>
      <tr>
        <td height="21" colspan="5"><div align="right"></div>                    <div align="right">
          <table width="100%"  border="0" bordercolor="#ECE9D8">
            <tr>
              <td width="7%">S No . </td>
              <td width="21%"><div align="center"> Name </div></td>
              <td width="26%"><div align="center">Module</div></td>
              <td width="19%"><div align="center">Module</div></td>
              <td width="27%"><div align="center">Contect No. </div></td>
            </tr>
            <tr>
              <td>1</td>
              <td><input name="textfield" type="text" size="20"></td>
              <td><input name="textfield" type="text" size="25"></td>
              <td><input name="textfield" type="text" size="20"></td>
              <td><input name="textfield" type="text" size="30"></td>
            </tr>
            <tr>
              <td>2</td>
              <td><input name="textfield" type="text" size="20"></td>
              <td><input name="textfield" type="text" size="25"></td>
              <td><input name="textfield" type="text" size="20"></td>
              <td><input name="textfield" type="text" size="30"></td>
            </tr>
            <tr>
              <td>3</td>
              <td><input name="textfield" type="text" size="20"></td>
              <td><input name="textfield" type="text" size="25"></td>
              <td><input name="textfield" type="text" size="20"></td>
              <td><input name="textfield" type="text" size="30"></td>
            </tr>
            <tr>
              <td>4</td>
              <td><input name="textfield" type="text" size="20"></td>
              <td><input name="textfield" type="text" size="25"></td>
              <td><input name="textfield" type="text" size="20"></td>
              <td><input name="textfield" type="text" size="30"></td>
            </tr>
          </table>
        </div>          </td>
        </tr>

you have to use java script..... and call function on onfocus event... function will consist of text and it will draw whenever onfocus event occur...

you have to use java script..... and call function on onfocus event... function will consist of text and it will draw whenever onfocus event occur...

Little to late for your answer, which is not exactly specific and supported by some examples or links to online resources...

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.