---
# System prepended metadata

title: alert計時器
tags: [jQuery, JavaScript]

---

#  alert計時器
###### tags:`jQuery` `JavaScript`


---

## 計時器 
* ready是表示已經準備好的程式
* alert是警告視窗

練習範例:
```htmlmixed=
<head>
    <script>
        $(document).ready(function(){
            alert("警告");
                setInterval(function(){
                alert("5000警告");
                },5000);
        });
    </script>
</head>
```

---

