Skip to content

Commit 3202b0b

Browse files
committed
blog-9-9
blog-9-9
1 parent ff25197 commit 3202b0b

50 files changed

Lines changed: 1615 additions & 7 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.idea/workspace.xml‎

Lines changed: 4 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
layout: post
3+
title: "jquery的attr方法和prop方法"
4+
categories: html-css
5+
description: "jquery的attr方法和prop方法"
6+
main-class: 'dev'
7+
color: '#637a91'
8+
tags:
9+
- "jquery"
10+
twitter_text: "jquery的attr方法和prop方法"
11+
introduction: "jquery的attr方法和prop方法"
12+
---
13+
14+
尽管越来越多人已经不建议使用jquery,但jquery仍然是最普遍被使用的javascript库。下图是ponyfoo.com网站在今年初进行的一项名为“Javascript开发者调查”的调查数据。[查看英文原文](https://ponyfoo.com/articles/javascript-developer-survey-results)。
15+
16+
![Javascript开发者调查-jquery库使用](../assets/img/jquery-use-chart.png)
17+
18+
Jquery也在不但地迭代更新,不断进步。目前稳定版本已经更新到3.1.0版本。在使用刚刚Jquery的过程中,曾今有个遇到一个问题——
19+
20+
### jquery的attr方法和prop方法是什么时候该用哪个?
21+

‎_site/404/index.html‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<!DOCTYPE html><html lang="en" itemscope itemtype="http://schema.org/WebPage" ><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1"><title>404</title><meta name="description" content="A blog about Front End Development"><link rel="author" href="https://plus.google.com/+feleventh?rel=author"> <meta name="twitter:card" content="summary_large_image"><meta name="twitter:site" content="@feleventh"><meta name="twitter:title" content="404"><meta name="twitter:description" content="A blog about Front End Development"><meta property="twitter:image:src" content="/assets/img/blog-image.png"> <meta property="og:url" content="/404/"><meta property="og:title" content="404"><meta property="og:image" content="/assets/img/blog-image.png"><meta property="og:description" content="A blog about Front End Development"><meta property="og:site_name" content="Zhang Chi - Front End Developer"> <meta itemprop="name" content="404"/><meta itemprop="description" content="A blog about Front End Development"><meta itemprop="image" content="/assets/img/blog-image.png"/><link rel="shortcut icon" href="/assets/img/icons/favicon.ico" type="image/x-icon" /><link rel="apple-touch-icon" href="/assets/img/icons/apple-touch-icon.png" /><link rel="apple-touch-icon" sizes="57x57" href="/assets/img/icons/apple-touch-icon-57x57.png" /><link rel="apple-touch-icon" sizes="72x72" href="/assets/img/icons/apple-touch-icon-72x72.png" /><link rel="apple-touch-icon" sizes="114x114" href="/assets/img/icons/apple-touch-icon-114x114.png" /><link rel="apple-touch-icon" sizes="144x144" href="/assets/img/icons/apple-touch-icon-144x144.png" /><link rel="apple-touch-icon" sizes="60x60" href="/assets/img/icons/apple-touch-icon-60x60.png" /><link rel="apple-touch-icon" sizes="120x120" href="/assets/img/icons/apple-touch-icon-120x120.png" /><link rel="apple-touch-icon" sizes="76x76" href="/assets/img/icons/apple-touch-icon-76x76.png" /><link rel="apple-touch-icon" sizes="152x152" href="/assets/img/icons/apple-touch-icon-152x152.png" /> <meta name="application-name" content="Zhang Chi Blog"><meta name="msapplication-TileColor" content="#0562DC"><meta name="msapplication-square70x70logo" content="smalltile.png" /><meta name="msapplication-square150x150logo" content="mediumtile.png" /><meta name="msapplication-wide310x150logo" content="widetile.png" /><meta name="msapplication-square310x310logo" content="largetile.png" /> <meta name="theme-color" content=""><link rel="stylesheet" href="/assets/css/main.css"><link rel="canonical" href="/404/"><link rel="alternate" type="application/rss+xml" title="Zhang Chi - Front End Developer" href="/feed.xml" /></head><body> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" display="none" version="1.1"><defs><symbol id="icon-menu" viewBox="0 0 1024 1024"><path class="path1" d="M128 213.333h768q17.667 0 30.167 12.5t12.5 30.167-12.5 30.167-30.167 12.5h-768q-17.667 0-30.167-12.5t-12.5-30.167 12.5-30.167 30.167-12.5zM128 725.333h768q17.667 0 30.167 12.5t12.5 30.167-12.5 30.167-30.167 12.5h-768q-17.667 0-30.167-12.5t-12.5-30.167 12.5-30.167 30.167-12.5zM128 469.333h768q17.667 0 30.167 12.5t12.5 30.167-12.5 30.167-30.167 12.5h-768q-17.667 0-30.167-12.5t-12.5-30.167 12.5-30.167 30.167-12.5z"/></symbol><symbol id="icon-search" viewBox="0 0 951 1024"><path class="path1" d="M658.286 475.429q0-105.714-75.143-180.857t-180.857-75.143-180.857 75.143-75.143 180.857 75.143 180.857 180.857 75.143 180.857-75.143 75.143-180.857zM950.857 950.857q0 29.714-21.714 51.429t-51.429 21.714q-30.857 0-51.429-21.714l-196-195.429q-102.286 70.857-228 70.857-81.714 0-156.286-31.714t-128.571-85.714-85.714-128.571-31.714-156.286 31.714-156.286 85.714-128.571 128.571-85.714 156.286-31.714 156.286 31.714 128.571 85.714 85.714 128.571 31.714 156.286q0 125.714-70.857 228l196 196q21.143 21.143 21.143 51.429z"/></symbol><symbol id="icon-close" viewBox="0 0 805 1024"><path class="path1" d="M741.714 755.429q0 22.857-16 38.857l-77.714 77.714q-16 16-38.857 16t-38.857-16l-168-168-168 168q-16 16-38.857 16t-38.857-16l-77.714-77.714q-16-16-16-38.857t16-38.857l168-168-168-168q-16-16-16-38.857t16-38.857l77.714-77.714q16-16 38.857-16t38.857 16l168 168 168-168q16-16 38.857-16t38.857 16l77.714 77.714q16 16 16 38.857t-16 38.857l-168 168 168 168q16 16 16 38.857z"/></symbol><symbol id="icon-twitter" viewBox="0 0 951 1024"><path class="path1" d="M925.714 233.143q-38.286 56-92.571 95.429 0.571 8 0.571 24 0 74.286-21.714 148.286t-66 142-105.429 120.286-147.429 83.429-184.571 31.143q-154.857 0-283.429-82.857 20 2.286 44.571 2.286 128.571 0 229.143-78.857-60-1.143-107.429-36.857t-65.143-91.143q18.857 2.857 34.857 2.857 24.571 0 48.571-6.286-64-13.143-106-63.714t-42-117.429v-2.286q38.857 21.714 83.429 23.429-37.714-25.143-60-65.714t-22.286-88q0-50.286 25.143-93.143 69.143 85.143 168.286 136.286t212.286 56.857q-4.571-21.714-4.571-42.286 0-76.571 54-130.571t130.571-54q80 0 134.857 58.286 62.286-12 117.143-44.571-21.143 65.714-81.143 101.714 53.143-5.714 106.286-28.571z"/></symbol><symbol id="icon-facebook" viewBox="0 0 585 1024"><path class="path1" d="M548 6.857v150.857h-89.714q-49.143 0-66.286 20.571t-17.143 61.714v108h167.429l-22.286 169.143h-145.143v433.714h-174.857v-433.714h-145.714v-169.143h145.714v-124.571q0-106.286 59.429-164.857t158.286-58.571q84 0 130.286 6.857z"/></symbol><symbol id="icon-google-plus" viewBox="0 0 951 1024"><path class="path1" d="M420 454.857q0 20.571 18.286 40.286t44.286 38.857 51.714 42 44 59.429 18.286 81.143q0 51.429-27.429 98.857-41.143 69.714-120.571 102.571t-170.286 32.857q-75.429 0-140.857-23.714t-98-78.571q-21.143-34.286-21.143-74.857 0-46.286 25.429-85.714t67.714-65.714q74.857-46.857 230.857-57.143-18.286-24-27.143-42.286t-8.857-41.714q0-20.571 12-48.571-26.286 2.286-38.857 2.286-84.571 0-142.571-55.143t-58-139.714q0-46.857 20.571-90.857t56.571-74.857q44-37.714 104.286-56t124.286-18.286h238.857l-78.857 50.286h-74.857q42.286 36 64 76t21.714 91.429q0 41.143-14 74t-33.714 53.143-39.714 37.143-34 35.143-14 37.714zM336.571 400q21.714 0 44.571-9.429t37.714-24.857q30.286-32.571 30.286-90.857 0-33.143-9.714-71.429t-27.714-74-48.286-59.143-66.857-23.429q-24 0-47.143 11.143t-37.429 30q-26.857 33.714-26.857 91.429 0 26.286 5.714 55.714t18 58.857 29.714 52.857 42.857 38.286 55.143 14.857zM337.714 898.857q33.143 0 63.714-7.429t56.571-22.286 41.714-41.714 15.714-62.286q0-14.286-4-28t-8.286-24-15.429-23.714-16.857-20-22-19.714-20.857-16.571-23.714-17.143-20.857-14.857q-9.143-1.143-27.429-1.143-30.286 0-60 4t-61.429 14.286-55.429 26.286-39.143 42.571-15.429 60.286q0 40 20 70.571t52.286 47.429 68 25.143 72.857 8.286zM800.571 398.286h121.714v61.714h-121.714v125.143h-60v-125.143h-121.143v-61.714h121.143v-124h60v124z"/></symbol></defs></svg><header class="bar-header"><h1 class="logo"> <a href="/"></a></h1></header><div class="search-wrapper"><div class="search-form"> <input type="text" class="search-field" placeholder="Search..."> <svg class="icon-remove-sign"><use xlink:href="#icon-close"></use></svg><ul class="search-results search-list"></ul></div></div><div id="fade" class="overlay"></div><a id="slide" class="slideButton fade"> <svg id="open" class="icon-menu"><use xlink:href="#icon-menu"></use></svg> <svg id="close" class="icon-menu"><use xlink:href="#icon-close"></use></svg> </a><aside id="sidebar"><nav id="navigation"><h2>MENU</h2><ul><li><a href="/">Home</a></li><li><a href="/series">Series</a></li><li><a href="/tags">Tags</a></li><li><a href="/about">About Me</a></li><li><a class="feed" href="/feed.xml" title="Atom/RSS feed">Feed</a></li></ul></nav></aside><a id="search" class="dosearch"> <svg class="icon-menu icon-search"><use xlink:href="#icon-search"></use></svg> </a><section class="content"><div class="post"><header class="post-header"><h1 class="post-title">404</h1></header><article class="post-content"><p>告知:本博最近有所调整,导致原来的链接失效了。若你来到这里,不是说明文章不在了。请点击这里<a href="/">homepage</a>来寻找。</p><p>Error 404. Nothing found :( Where did you get that link?</p><p>Please go to <a href="/">homepage</a> or email me:</p><div class="highlighter-rouge"><pre class="highlight"><code>feleventh@hotmail.com
2+
</code></pre></div></article></div></section><footer><p>Made with <a href="http://jekyllrb.com/" target="_blank">Jekyll</a> and <span class="love">❤</span> by <a href="http://feleventh.github.io">Zhang Chi</a></p></footer><script src="/assets/js/main.js"></script></body></html>

‎_site/CNAME‎

Whitespace-only changes.

‎_site/LICENSE‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2016 Willian Justen <willianjustenqui@gmail.com>
4+
http://willianjusten.com.br
5+
6+
Permission is hereby granted, free of charge, to any person obtaining a copy
7+
of this software and associated documentation files (the "Software"), to deal
8+
in the Software without restriction, including without limitation the rights
9+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
copies of the Software, and to permit persons to whom the Software is
11+
furnished to do so, subject to the following conditions:
12+
13+
The above copyright notice and this permission notice shall be included in
14+
all copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22+
THE SOFTWARE.

0 commit comments

Comments
 (0)