ajax 연습

더어·2022년 1월 30일
1. 

<script> 
    function q1() { 
        $.ajax({ 
            type: "GET", 
            url: "", 
            data: {}, 
            success: function (response) {  
            } 
        }) 
    } 
</script>

2.

            success: function (response) { 
                console.log(response) 
            } 
            console.log(msg,url)
            
  1. api
    : get & post

  2. 무언가를 가져오려면 지칭할것이 필요하다

    1. CSS = class
    2. jQuery = ID
            
profile
린이

0개의 댓글