Hi i'm new to javascript but i think my code works well in firefox and other browser, but when i try to run in IE i got the error "object doesn't support this object in javascript".

Can anyone tell me why i always got this error. Many thanks..

Here is my whole code.

Code PHP:
<?php
session_start();
if(isset($_SESSION['username'])){
include_once("conn.php");
 
 
  $pendtickets = array();
  $newtickets=array();
	 $selectTicketsQuery = mssql_query("Select * from tblTicket inner join tblAssign on tblTicket.TickNo=tblAssign.TicketNo and tblAssign .AssignTo!= '$_SESSION[username]' ");
	 while($pendticket = mssql_fetch_array($selectTicketsQuery)){
        $pendtickets[] = $pendticket;
		}
	$newtickno=mssql_query("Select * from tblTicket where TickNo not in (select TicketNo from tblAssign)");
	 while($newticket = mssql_fetch_array($newtickno)){
        $newtickets[] = $newticket;
		}
	$Assignto= mssql_query("Select * from MISPIC");
	while($AssignOptionassignto = mssql_fetch_array($Assignto)){
	$AssignOptionsassignto[] = $AssignOptionassignto;
	}
 
	$Assign= mssql_query("Select * from MISPIC ");
							while($AssignOption = mssql_fetch_array($Assign)){
							$AssignOptions[] = $AssignOption;
							}
 
?>
	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
 
	<script type="text/javascript" language="javascript" src="jquery./jquery.js"></script>
	<script type="text/javascript" language="javascript" src="jquery./jquery.dataTables.js"></script>
	<script type="text/javascript" charset="utf-8">
		$(document).ready(function() {
		$('#example').dataTable();
		} );
	</script>	
	<script type="text/javascript" charset="utf-8">
 
 
</script>
 
<?php echo '<meta http-equiv="refresh" content="60;url="UnAssignticket.php">';?>
	  <style type="text/css">
form {
    float:left;
}
</style>
	</head>
 
<body id="dt_example">
<br/>
<br/>
<p>
<table  BORDERCOLOR="#0B0B0B" border='1' bgcolor="#F5F5FA" width="100%"  align='center'>
<tr>
	<td >
		<img src='img/pend.png'>
	</td>
</tr>
<tr>
	<td align='center'>
		<div align='left' id="containerpend">
			<div id="demo">
				<table BORDERCOLOR="#0B0B0B"  frame="box" cellpadding="0" cellspacing="0" frame="box"  class="display" id="example"> 
 
			<thead>
				<tr>
					<th><a title="Ticket Number">Ticket No.</a></th>
					<th><a title="Ticket Create By">Create By</a></th>
					<th><a title="Ticket Create Date">Create Date</a></th>
					<th><a title="Date Assigned">Date Assigned</a></th>
					<th><a title="Problem Error">Problem Description</a></th>
					<th><a title="Ticket Assigned To">Assign To</a></th>
					<th><a title="User Action">Action</a></th>
				</tr>
			</thead>
			<tbody>			
					<?php	foreach($pendtickets as $pendticket) 
 
					{?>
 
							<tr class="GradeA">
								<td class='center'><?php echo "<a href='viewassignticket.php?id={$pendticket['TickNo']}&uname={$pendticket['UserName']}' title='View Ticket'>".$pendticket['TicketNo']."</a>"?></td>
								<td class='center'><?php echo $pendticket['UserName'];?></td>
								<td class='center'><?php echo $pendticket['DateCreate'];?></td>
								<td class='center'><?php echo $pendticket['DateAssign'];?></td>
								<td class='center'><?php echo $pendticket['Category']." (".$pendticket['Subcat'].")"?></td>
								<td class='center'><?php echo $pendticket['AssignTo'];?></td>
								<td class='center'>
 
								<form  id='transfer'  name='transfer' class='transfer'  action='forwardtick.php' method='POST' >
								<?php 	$_SESSION['ticketassign']=$pendticket['TicketNo']; 
										$_SESSION['nameassign']=$pendticket['AssignTo']; 
								?>
										<select  name='Trans' onchange="Transferticket('<?php echo $pendticket['TickNo'];?>',$(this));">
											<option value="0">Please Select</option>
											<?php foreach($AssignOptions as $TransferOption){ 
											 if ($TransferOption['MISPIC'] != $pendticket['AssignTo'])	
											echo '<option value="', $TransferOption['MISPIC'], '">', $TransferOption['MISPIC'], '</option>'; }	
 
											?> 
										</select>
 
									</form>
								</td>
 
							</tr>
					<?php }	?>
						<?php foreach($newtickets as $newticket) { ?>
							<tr class="GradeA">
								<td class='center'><?php echo "<a href='ticketinfo.php?id={$newticket['TickNo']}' title='View Ticket'>".$newticket['TickNo']."</a>"?></td>
								<td class='center'><?php echo $newticket['UserName'];?></td>
								<td class='center'><?php echo $newticket['DateCreate'];?></td>
								<td class='center'><?php echo $newticket['DateAssign'];?></td>
								<td class='center'><?php echo $newticket['Category']." (".$newticket['Subcat'].")"?></td>
								<td class='center'><?php echo $newticket['AssignTo'];?></td>
 
								<td class='center'>
 
									<form id='assigned'  name="assigned" class='assigned'  action='asstoticket.php' method='POST'  >
									<?php 	$_SESSION['assignticketno']=$newticket['TickNo']; ?>
										<select style="width:100%" id='assignto' name='assignto' onchange="TicketAss('<?php echo $newticket['TickNo'];?>','<?php echo $newticket['UserName'];?>',$(this));" >
 
											<option value="0">Please Select</option>
 
											<?php foreach($AssignOptionsassignto as $TransferOptionassignto){ 
											echo '<option  value="', $TransferOptionassignto['MISPIC'], '">', $TransferOptionassignto['MISPIC'], '</option>'; 
										}
											?> 
										</select>
 
									</form>
								</td>
 
							</tr>
					<?php }	?>
			</tbody>
				<tfoot>
					<th>Ticket No</th>
					<th>Create By</th>
					<th>Create Date</th>
					<th>Date Assigned</th>
					<th>Problem Description</th>
					<th>Assign To</th>
					<th>Action</th>	    
			</tfoot>			
		</table>
 
			</div>
		</div>
	</td>	
</tr>
</table	>
</p>
 
<script type="text/javascript" charset="utf-8">
function Transferticket(ticket,uVal) {
    if (window.confirm('Transfer this ticket number ' + ticket + ' to ' + uVal.val())) {
 
    //this is where i got the error
	   window.document.forms['transfer'].submit();
 
 
    }else{
	uVal.val(0);
	};
}
var forms = document.getElementsByTagName('transfer'),
    i;
for (i = 0; i < forms.length; i += 1) {
    if (forms[i].className === 'transfer') {
        forms[i].onchange = Transferticket;
    }
}
</script>
 
<script type="text/javascript" charset="utf-8">
 
function TicketAss(ticketno,cname,sVal) {
    if (window.confirm('Assign this ticket number ' + ticketno + ' to ' + sVal.val())) {
 
      //this is where i got the error
       window.document.forms['assigned'].submit();
 
 
    }else{
	sVal.val(0);
	};
}
 
var forms1 = document.getElementsByTagName('assigned'),
    i;
for (i = 0; i < forms1.length; i += 1) {
    if (forms[i].className === 'assigned') {
        forms[i].onchange = TicketAss;
    }
}
 
</script>
 
	<style type="text/css" title="currentStyle">
		@import "css/demo_page.css";
		@import "css/demo_table.css";
	</style>
 
	</body>
	</html>
<?php
 
}else{ //not logged in
    header('location: login.php');
}
?>