freshface001 0 Newbie Poster

hi to all
my problem
when i add form field dynamically to the page in java script (form method is get )it is well worked in IE but not working in mozilla fire fox problem is ,does not pass the form field element value to the url for the use of next page how to solve it please help me im new to java script
and my code is

<script type="text/javascript">

var limit_number=<? echo $num;?>;
		var fileId = 2;
			function addElement(parentId, elementTag, elementId, html) {
				// Adds an element to the document
				var p = document.getElementById(parentId);
				var newElement = document.createElement(elementTag);
				newElement.setAttribute('id', elementId);
				newElement.setAttribute('name', elementId);
				
				newElement.innerHTML = "Invitation EmailID "+ fileId+" : "+ html;
				
				p.appendChild(newElement);
				fileId++;
			}

			function removeElement() {
			if(fileId>2){
				// Removes an element from the document
				var element = document.getElementById("invite"+(fileId-1));
				element.parentNode.removeChild(element);
				fileId--;
				}
			}
				
			function addFile() {
			if((limit_number+fileId)<11){
				//
				// Example function showing how to add a file input box to an existing form
				//
				 // increment fileId to get a unique ID for the new element
				var html = '<input type="text" name="invite'+fileId+'" class="txtbox"/> ' +
						   '';
				addElement('files', 'p', 'invite' + fileId, html);
			
				}
				else
				{
				alert("you can't invite more than 10");
				}
			}
			
 function setavalue() {
 
document.getElementById('burns').value=fileId
}
</script>

and the html form is

<table width="70%" align="center">
  
  <tbody onClick="setavalue()">
  <form enctype="multipart/form-data" action="members.php" method="get" on>
		<tr>
		  <td class="bluebar">Send Invitation</td>
		</tr>
		<tr class="box">
		  <td style="padding-top:15px">
		  Invitation EmailID 1 : <input name="invite1" type="text" class="txtbox" /></td>
		</tr>
		<tr><td>
			<div id="files">
				</div></td></tr>
		<tr>
		  <td>&nbsp;</td>
		 
    </tr>
		<tr><td width="51%">	<a href="#" onclick="removeElement(); return false;">Remove</a>&nbsp;&nbsp;<input class="button" type="button" value="Add another ID" 
        onclick="addFile();" />
			<input class="button" type="submit" value="Submit"  name=send/><input type=hidden name=burns  /></td>
		</tr>
	</form> <tr><td colspan="2"></tbody></table>