Hi Every One
I am designing one site in Zen Cart 1.3.8a almost every thing is completed, here I came for one simple help from you all.
I want few text fields and drop down boxes should generate when user click on Add new item Button and the previous entered item should be displayed along with new fields. You all can see this on www.oemxtrade.com but actual page(myNewPage.php) can be viewed after login (its free)
http://www.oemxtrade.com/index.php?main_page=myNewPage
I know this is possible with Ajax. Here is the code of HTML
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>oemXtrade.com</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<body>
<!-- start header -->
<div id="main">
<div id="cantaner">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="top" class="formheadtext">Create New Excess Part List (Manually) <br />
<div class="formtext" id="helpbox">
<div id="help">
<ol>
<li>Click on the "Parts List/BOM Manager" link.</li>
<li>Click on the "Create New Parts List (Manually)" link.</li>
<li><span class="headingtext">To add items, enter a DK part number or Mfg part number, customer reference number (optional), quantity (qty), and press "Enter" or click the "Add" button.</span></li>
<li><span class="headingtext">Note: if multiple qtys are desired, enter qty in 2 and 3 as well.</span></li>
<li><span class="headingtext">Once all items are entered or added click on the "Create Order," "Create BOM," or "Create Quote " button to create an Order, BOM, or Quote.</span></li>
</ol>
</div>
</div>
</td>
</tr>
<tr>
<td align="center" valign="top" class=""> <div align="center">
<div id="box2">
<div align="left"></div>
<table width="1102" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="35" align="left" valign="top" class="tdcolour"><div align="center" class="headingtext"><strong>S.no</strong></div></td>
<td width="71" align="left" valign="top" class="tdcolour"><p align="center" class="headingtext">Sell Part no. </p></td>
<td width="103" align="left" valign="top" class="tdcolour"><div align="center" class="headingtext"><strong>Category</strong></div></td>
<td width="77" align="left" valign="top" class="tdcolour"><div align="center" class="headingtext"><strong>Manu part</strong></div></td>
<td width="103" align="left" valign="top" class="tdcolour"><div align="center" class="headingtext"><strong>Manu name </strong></div></td>
<td width="50" align="left" valign="top" class="tdcolour"><div align="center" class="headingtext"><strong>Quantity</strong></div></td>
<td width="35" align="left" valign="top" class="tdcolour"><div align="center" class="headingtext"><strong>SPQ</strong></div></td>
<td width="75" align="left" valign="top" class="tdcolour"><div align="center" class="headingtext">Currency</div></td>
<td width="53" align="left" valign="top" class="tdcolour"><div align="center" class="headingtext"><strong>Pur price</strong></div></td>
<td width="104" align="left" valign="top" class="tdcolour"><div align="center" class="headingtext"><strong> Device Package </strong></div></td>
<td width="118" align="left" valign="top" class="tdcolour"><div align="center" class="headingtext"><strong>Package type</strong></div></td>
<td width="32" align="left" valign="top" class="tdcolour"><div align="center" class="headingtext"><strong>Date code </strong></div></td>
<td width="51" align="left" valign="top" class="tdcolour"><div align="center" class="headingtext"><strong>ROHS</strong></div></td>
<td width="51" align="left" valign="top" class="tdcolour"><div align="center" class="headingtext"><strong>COC</strong></div></td>
<td width="103" align="left" valign="top" class="tdcolour"><p align="center" class="headingtext">Procure souce</p> </td>
<td width="136" align="left" valign="top" class="tdcolour"><div align="center" class="headingtext">
<p><strong>STK Loc</p>
</div></td>
</tr>
<tr>
<td align="left" valign="top" class="td"><strong>1</strong></td>
<td align="left" valign="top" class="td"><input name="textfield4" type="text" size="10" /></td>
<td align="left" valign="top" class="td"><select name="select">
<option>---Select--</option>
</select></td>
<td align="left" valign="top" class="td"><input name="textfield42" type="text" size="20" /></td>
<td align="left" valign="top" class="td"><select name="select2">
<option>---Select--</option>
</select></td>
<td class="td"><input name="textfield422" type="text" size="7" /></td>
<td class="td"><input name="textfield423" type="text" size="5" /></td>
<td class="td"><select name="select8">
<option>US $</option>
<option>EURO</option>
<option>INR</option>
</select></td>
<td class="td"><input name="textfield52" type="text" size="8" /></td>
<td class="td"><select name="select3">
<option>BULK,ORIG</option>
<option>BULK,BR</option>
<option>T&R,ORIG</option>
<option>T&R, BR</option>
</select></td>
<td class="td"><select name="select4">
<option>DIRECT (DM)</option>
<option>DISTI (DI)</option>
<option>DEALER (DR)</option>
<option>OTHER (OT)</option>
</select></td>
<td class="td"><input name="textfield424" type="text" size="4" /></td>
<td align="left" valign="top" class="td"><select name="select5">
<option>Y</option>
<option>N</option>
</select></td>
<td class="td"><select name="select6">
<option>Y</option>
<option>N</option>
</select></td>
<td class="td"><select name="select7">
<option>---Select--</option>
</select></td>
<td class="td"><input name="textfield522" type="text" size="5" /></td>
</tr>
<tr>
<td colspan="16" align="left" valign="top" class="td">
<input type="submit" name="Submit2" value="Add another part" />
<input type="submit" name="Submit" value="Send Part List" />
<a href="excess_unique_name.html" class="logintext">link</a></td>
</tr>
</table>
</div>
</div></td>
</tr>
<tr>
<td align="left" valign="top"></td>
</tr>
<tr>
<td align="center" valign="top"><div style="padding-right:10px">
<div align="right" class="normaltext"><a href="oemXtrade_signin.html"><strong><img src="images/img13left.gif" alt="" border="0" width="4" height="7" /> Back to Add Excess Inventory / Back to Search Page </strong></a><strong> </strong></div>
</div>
</p></td>
</tr>
</table>
<p> </p>
</div>
</div>
</div>
<!-- end header -->
<!-- start page --><!-- end page -->
<!-- start footer -->
<!-- end footer -->
</body>
</html>
Thank you every body in advance.