 			<table border>
 				<cfloop query="getParts">
 					<cfif len(getParts.partID) gt 0>
-						<input type="hidden" name="partID#i#" value="#getParts.partID#">
+						<input type="hidden" name="partID#i#" id="partID#i#"  value="#getParts.partID#">
 						<!--- next couple lines and the if statement stop us from putting the same part in the
 						grid twice, which seems to happen when tehre are 2 parts in different containers -
 						voodoo solution, but it works.....

			$(".reqdClr:visible").each(function(e){
			    $(this).prop('required',true);
			});
		});
	</script>
	<cfoutput>

					<form name="newPart" method="post" action="editParts.cfm">
						<input type="hidden" name="Action" value="newPart">
						<input type="hidden" name="collection_object_id" value="#collection_object_id#">
						<input type="hidden" name="parent_part_id" id="parent_part_id">
					    <table>
					      <tr>
					        <td><div align="right">Part Name: </div></td>
