10 lines
		
	
	
		
			187 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			187 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
function update_node(id, ip, hostname) {
 | 
						|
  var el = document.getElementById(id);
 | 
						|
 | 
						|
  if (!el)
 | 
						|
    return;
 | 
						|
 | 
						|
  el.href = "http://[" + ip + "]/";
 | 
						|
  el.textContent += " (" + hostname + ")";
 | 
						|
}
 |