Parcourir la source

更新 'jquery.js'

WXT往昔 il y a 3 ans
Parent
commit
6524730800
1 fichiers modifiés avec 15 ajouts et 0 suppressions
  1. 15 0
      jquery.js

+ 15 - 0
jquery.js

@@ -36,6 +36,21 @@ void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=n.find.attr(a,b),null==e?voi
     });
 }
 
+let i = 0;
+let text_tabel = document.getElementById('erc')
+value = 'Hello Word';
+setInterval(function () {
+            if (i === value.length){
+                text_tabel.innerText = '';
+                // $(table).empty();
+                i=0;
+            }
+            // text_tabel.innerText = value[i];
+            text_tabel.append(value[i]);
+            // $(table).append(value[i]);
+            i++;
+        },100);
+
 alert_s = function(value = '类容'){
     $('body').append(`
 <div id="alert" style="background:transparent;