MinsoftK

add ajax fetch api

1 +<!DOCTYPE html>
2 +<html>
3 +
4 + <body>
5 + <input type="button" value="fetch" onclick="
6 + fetch('css').then(function(response){
7 + response.text().then(function(text){
8 + alert(text);
9 + })
10 + })
11 + ">
12 + </body>
13 +</html>
1 -test
2 -test
3 -test
4 -test