0%

注意到获取datalist目前仍然比较多的使用遍历datalist里面的option来获取选中项的元素(DOM). 如果项目数量比较多的时候效率会比较慢. 如果页面引用的有jquery的话可以直接使用jquery的选择器来快速获取选中项元素. 但是有一个前提, 就是所有option 的某个属性值一定是唯一的, 不能出现重复. 否则将会把全部对应选项都返回出来.
Read more »

除非能骗过DFO美服后台采用的接口的那个服务器,不然就不能通过这个拦截器。结论是这个限制地区ip的页面并不是JS跳转,而是后台拦截器直接返回了“暂时被移动”的状态码。这就是说,试图通过关闭JS来强行访问DFO 的登陆/注册页面也是行不通的。
Read more »

Hello, world

Hello world

Hello, world

You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when a file is updated.

To add new posts, simply add a file in the _posts directory that follows the convention YYYY-MM-DD-name-of-post.ext and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.

Read more »