troubleshooting Question

How to get dynamically added elements in server side?

Avatar of Zoniac
Zoniac asked on
2 Comments1 Solution562 ViewsLast Modified:
I have tried dynamically adding row of elments [input box,select control,input file] using Jquery addrow table version 1.02 with jquery-1.4.2.

Here i couldn't get the dynamically added elements [using javascript/Jquery ] in server side while i access my application in firefox/Safari/Chrome.But it's working fine in IE browser.

I'm using  apache-tomcat-6.0.10 web server.

--from JSP page--

<form name="newsheet" id="newsheet" method="POST" enctype="multipart/form-data" action="/servlet/TestServlet">

	<td><span class="DeleteButton"  id="delRow" >DEL</span></td>
	<td><input type="text" name="Attachmentname_0" id="Attachmentname_0" size="40"  maxlength="255" ></td>
	<td><select name="attachmentStatus_0" id="attachmentStatus_0" size="1"></select></td>
	<td><input TYPE="file" VALUE="Browse"  name="resumeFile_0" id="resumeFile_0" value="" maxlength="1000" size="40" tabIndex="33" class="controlStyle" /></td>
	<td><input type="hidden" class="delRow" value="Delete Row"/></td>
--script Code for adding dynamic elements

<script type="text/javascript">

I'm getting elements using multipart request in which elements are not able to reach in server side.
Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros