1.
<script>
function q1() {
$.ajax({
type: "GET",
url: "",
data: {},
success: function (response) {
}
})
}
</script>
2.
success: function (response) {
console.log(response)
}
console.log(msg,url)
-
api
: get & post
-
무언가를 가져오려면 지칭할것이 필요하다
- CSS = class
- jQuery = ID