| 
	
	
		
		
		
		
		 Вот так вроде работает 
 
 
		  <input name="foo" type="radio" go="http://google.ru"> 
		  <input name="foo" type="radio" go="http://ya.ru"> 
		  <button onclick="go()" /> 
		  <script> 
			  arr=document.getElementsByName("foo") 
			  go=function(){for(var i in arr){if(arr[i].checked) {location=arr[i].getAttribute("go")}}} 
		  </script> 
		
	
		
		
		
		
		
		
		
						  
				
				Последний раз редактировалось newobject, 17.07.2014 в 16:58.
				
				
			
		
		
	
		
		
	
	
	 |