偶遇两道 JavaScript 题目,觉得都比较有趣,分享一下。
第一道是很老的题目了,getElementsByClassName,写一下当作练习:
下面这个思路比较简单,基本也是 Robert Nyman 的思路了,判断了 IE5 中使用原生的 all 属性代替其不支持的 getElementsByTagName ,使用 indexOf 判断相应的 class 是否匹配。
function getElemen...
Warning: md5_file(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /www/wwwroot/kayosite.com/wp-content/themes/DREAM.ONLINE/functions.php on line 128
Warning: md5_file(): Failed to enable crypto in /www/wwwroot/kayosite.com/wp-content/themes/DREAM.ONLINE/functions.php on line 128
Warning: md5_file(https://kayosite.com/wp-content/themes/DREAM.ONLINE/package.json): failed to open stream: operation failed in /www/wwwroot/kayosite.com/wp-content/themes/DREAM.ONLINE/functions.php on line 128