  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Description" content="Site perso,cours,ouvrages" />
<meta name="Keywords" content="WEBSITE perso " />
<meta name="Distribution" content="Global" />
<meta name="Robots" content="" />
<meta http-equiv="Content-Language" content="fr" />
<meta name="rating" content="general" />
<meta name="author" content="Patrice DELPY" />
<meta name="copyright" content="Copyright 2013" />
<meta name="generator" content="Patoche" />
<title>Patoche WEBSITE - 2013 - Template du site - en cours de développemment ...</title>

<link href="http://code.jquery.com/ui/1.10.4/themes/ui-lightness/jquery-ui.css" rel="stylesheet">
<script src="http://code.jquery.com/jquery-1.10.2.js"></script>
<script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>

</head>


<script>

function getXhr()
{
			var xhr = null; 
			if(window.XMLHttpRequest) // Firefox et autres
			      xhr = new XMLHttpRequest(); 
			else if(window.ActiveXObject)
			     { // Internet Explorer 
					try { 
							xhr = new ActiveXObject("Msxml2.XMLHTTP");
						} 
					catch (e) 
						{ 
							xhr = new ActiveXObject("Microsoft.XMLHTTP");
						}
				}
				else 
				{ 
					// XMLHttpRequest non supporté par le navigateur 
					alert("Votre navigateur ne supporte pas les objets XMLHTTPRequest..."); 
					xhr = false; 
				 } 
                
				return xhr;
}


function myFunction()
{
	var element = document.getElementById('doctype').value;
	//alert(element);

	//window.location = "passage.php?val=element";
	

	window.location.replace("passage.php?val=" + element);
	
	//var url = "passage.php?val=" + element;
	
	//window.location = url;
}

</script>



			<!--<form action="selection_bloc.php" method="post"> -->
		    <select  size = "10" name="doctype" id="doctype">
				<option value="html5" selected="selected">HTML 5</option>
				<option value="htmlstrict">HTML 4.01 Strict</option>
				<option value="htmltrans">HTML 4.01 Transitional</option>
				<option value="xhtmlstrict">XHTML 1.0 Strict</option>
				<option value="xhtmltrans">XHTML 1.0 Transitional</option>
			</select>
			
			<br/>
			
			
			<input type="submit" value="Selection" id="submit" onclick="myFunction()" />
			<!-- </form> -->
			
			
			
			<button>Send</button>
			