PageSourceSearch

https://www.cpc.ac.uk/res/scripts/asyncmedLoad.js

js cpc.ac.uk collected 2026-09-24 09:35:14 UTC 769 bytes, 33 lines download raw bytes

1function asyncmedLoad(id)
2{
3	//console.log(id);
4	//$('#14pubul').html('vbhcjbehjcv');
5	
6	var xhttp = new XMLHttpRequest();
7	xhttp.onreadystatechange = function() 
8	{
9		if (this.readyState == 4 && this.status == 200) 
10		{
11			var obj = JSON.parse(this.responseText);
12			
13			if(obj[1] === null)
14			{
15				//console.log(obj[0]+' null');
16			}
17			else
18			{
19				//console.log(obj[0]+' YES!');
20				$('#'+obj[0]+'medul').html(obj[1]);
21				//decodeURIComponent(escape(obj[1]));
22			}
23			//console.log('#'+obj[0]+'medul'+' - '+obj[1]);
24		}
25	};
26	xhttp.open("POST", "/res/scripts/perMeds.php?id="+id, true);
27	xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
28	xhttp.send();
29	
30	/*console.log(name);
31	console.log(email);*/
32}
33

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.