<script> $(document).ready(function(){ alert('로딩') // 확인 후 삭제 get_rate(); }); function get_rate(){ $.ajax({ type: "GET", url: "호출url", data: {}, success: function (response) { let now_rate = response['rate']; $('#now-rate').text(now_rate); } }) } </script>
<body> <span id="now-rate">적용text</span> </body>