<?php 
$submit_url = $file_name."?page=view_keycode"; 
$show_all_page = "page=view_keycode";
?>
<tr>
	<td align="left"> 
		<form action="<?php echo $submit_url;?>" method="post" name="search_form" id="search_form">
			<table>
				<tr>
					<td><?php echo Keycode::getKeycodeList('keycode',$keycode,"200","Select Keycode");?></td>
					<td>Code:</td><td><input type="text" id="code" name="code" value="<?php echo $code;?>"></td>
					<td>Description:</td><td><input type="text" id="description" name="description" value="<?php echo $description;?>"></td>
					<td><input type="submit" name="search" value=" Search "> <input type="button" value="Show All" onclick="javascript:window.location='?<?php echo $show_all_page ?>'"></td>
				</tr>				
			</table>
		</form>
	</td>
</tr>
<script type="text/javascript">
$('#keycode').change(function(){
	$('#keycode_value').attr("value",$(this).attr('value'));
});	
</script>