xmlhttp = window.XMLHttpRequest ? new XMLHttpRequest() : window.ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : alert("use chrome");

xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) {

document.getElementById("id").innerHTML=xmlhttp.responseText;

}

}

xmlhttp.open("GET","test.txt",true);

xmlhttp.send();

'Web' 카테고리의 다른 글

[js] .txt 파일 로컬 저장  (0) 2019.07.31

Textview email;


email.setPaintFlags(email.getPaintFlags() or Paint.UNDERLINE_TEXT_FLAG)


email.setOnClickListener {
val it = Intent(Intent.ACTION_SEND)
val tos = arrayOf("email@gmail.com")

it.putExtra(Intent.EXTRA_SUBJECT, "subject")
it.putExtra(Intent.EXTRA_EMAIL, tos)
it.type = "message/rfc822"

startActivity(Intent.createChooser(it, ""))
}

I was also facing the same issueremote: Repository not found fatal: repository 'https://github.com/MyRepo/project.git/' not found

I uninstalled the git credentials manager and reinstalled it and then I could easily pull and push to the repository. Here are the commands

 

$ git credential-manager uninstall

$ git credential-manager install

+ Recent posts