OkhunTursunov,
readme.txt
String number one
String number two
String number three
javascript
(function(){
var p = window.location.search.match(/^\?page=([1-9][0-9]*)/);
if (p) {
var q = new XMLHttpRequest();
q.open('GET', 'readme.txt', true);
q.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
var a = this.responseText.split(/[\n\r]+/)[p[1] - 1];
if (a) {
alert('String ' + p[1] + ' = ' + a);
} else {
alert('String ' + p[1] + ' does not exist');
}
}
}
q.send(null);
}
})();