After following, you can keep track of his dynamic information in a timely manner
Courses in the relevant section:jQuery events
blur() 當(dāng)失去焦點(diǎn)時(shí)觸發(fā) change()當(dāng)元素內(nèi)容發(fā)生改變 click()當(dāng)鼠標(biāo)單擊時(shí)觸發(fā) dblclick()當(dāng)鼠標(biāo)雙擊時(shí)觸發(fā) focus()當(dāng)元素獲取焦點(diǎn)時(shí)觸發(fā) keydown()當(dāng)鍵盤(pán)按下時(shí)觸發(fā) keyup()當(dāng)按鍵松開(kāi)時(shí)觸發(fā)
2016-11-230個(gè)贊
Courses in the relevant section:Introduction to HTML5 Basics
提高可用性和改進(jìn)用戶的友好體驗(yàn); 有幾個(gè)新的標(biāo)簽,這將有助于開(kāi)發(fā)人員定義重要的內(nèi)容; 可以給站點(diǎn)帶來(lái)更多的多媒體元素(視頻和音頻); 可以很好的替代FLASH和Silverlight; 當(dāng)涉及到網(wǎng)站的抓取和索引的時(shí)候,對(duì)于SEO很友好; 將被大量應(yīng)用于移動(dòng)應(yīng)用程序和游戲; 可移植性好。
2016-11-230個(gè)贊
Courses in the relevant section:Advantages of HTML5 Basics
最后我們可以從可用性的角度上看,HTML5可以更好的促進(jìn)用戶于網(wǎng)站間的互動(dòng)情況。多媒體網(wǎng)站可以獲得更多的改進(jìn),特別是在移動(dòng)平臺(tái)上的應(yīng)用,使用 HTML5可以提供更多高質(zhì)量的視頻和音頻流。
2016-11-230個(gè)贊
Courses in the relevant section:jQuery effects
$(document).ready(function(){ $("button").click(function(){ $(".hot").toggle(); }); });
2016-11-230個(gè)贊
Courses in the relevant section:jQuery-settings
text() - 設(shè)置或返回所選元素的文本內(nèi)容html() - 設(shè)置或返回所選元素的內(nèi)容(包括 HTML 標(biāo)記)val() - 設(shè)置或返回表單字段的值
2016-11-230個(gè)贊
Courses in the relevant section:jQuery - add/remove elements
$("#div1").remove();
2016-11-230個(gè)贊
Courses in the relevant section:HTML5 basic semantics
一個(gè)語(yǔ)義元素能夠?yàn)闉g覽器和開(kāi)發(fā)者清楚的描述其意義。像 < div > 和 元素是屬于無(wú)語(yǔ)義元素。語(yǔ)義元素實(shí)例: < form >, < t able>, and < img > - 清楚的描述了元素所代表的內(nèi)容。
2016-11-230個(gè)贊
Courses in the relevant section:jQuery-CSS classes and methods
addClass() - 向被選元素添加一個(gè)或多個(gè)類 removeClass() - 從被選元素刪除一個(gè)或多個(gè)類 toggleClass() - 對(duì)被選元素進(jìn)行添加/刪除類的切換操作 css() - 設(shè)置或返回樣式屬性
2016-11-230個(gè)贊
Courses in the relevant section:jQuery Traversal-Ancestors
parent()parents()parentsUntil()
2016-11-230個(gè)贊
Courses in the relevant section:HTML5 basic examples
<article> <aside> <details> <figcaption> <figure> <footer> <header> <main> <mark> <nav> <section> <summary> <time>
2016-11-230個(gè)贊
Courses in the relevant section:Detailed explanation of HTML5 basics Canvas
canvas 擁有多種繪制路徑、矩形、圓形、字符以及添加圖像的方法,可以創(chuàng)建豐富的圖形引用。
2016-11-230個(gè)贊
Courses in the relevant section:jQuery traversal - descendants
find() 方法返回被選元素的后代元素,一路向下直到最后一個(gè)后代。
2016-11-230個(gè)贊
Courses in the relevant section:jQuery Traversal - Siblings
siblings() next() nextAll() nextUntil() prev() prevAll() prevUntil()
2016-11-230個(gè)贊
Courses in the relevant section:jQuery traversal - filtering
filter() 方法允許您規(guī)定一個(gè)標(biāo)準(zhǔn)。不匹配這個(gè)標(biāo)準(zhǔn)的元素會(huì)被從集合中刪除,匹配的元素會(huì)被返回
2016-11-230個(gè)贊
Courses in the relevant section:AJAX example
function loadXMLDoc() { var xmlhttp; if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("myDiv").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","/try/ajax/ajax_info.txt",true); xmlhttp.send(); }
2016-11-230個(gè)贊