Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
http://qiita.com/advent-calendar/2014/frontrend æ¦è« ããè¿å¹´ã®ã¢ãã³JSã¯ç¹ã«çç±ããªããã°common.jsã®requireã¹ã¿ã¤ã«ã§è¨è¿°ãããwebpack/browserifyã§ãã«ã/èªã¿è¾¼ããã¨ãåæã«ãã¦ãããä»ããã¥ã¼å±¤ãé¤ãã¦ãã©ã¦ã¶ã¨nodeã®ã©ã¤ãã©ãªã®å¢çã¯é常ã«ææ§ã§ããã èè 諸åã«ããã¦ã¯å¸¸ã«ã©ã¡ãã®ç°å¢ã§ãèªã¿è¾¼ãããããªã©ã¤ãã©ãªãæä¾ããããã«å¿ããããã¨ãåã«é¡ãã ä»æ¥ã¯ã©ã¤ãã©ãªã®ååããåºããªããã§åèªã°ã°ãããã«ã ç«å ´ ãµã¼ããµã¤ã~ã²ã¼ã ããã°ã©ãã³ã°åºèº«nodeå¯ãããã³ãã¨ã³ãã¨ã³ã¸ã㢠ãã®ãµã¤ãã®ã¹ã¿ããã ãã©ä»ã®ãã¨ã«æä¸æ¯ã§Qiitaã®ããã³ãã¯ã¾ã ãããªã«ããã£ã¦ãªãããã¾ããªãä»ã£ã¦ãªãã ãã㪠è¨èª CoffeeScript TypeScript æè¿DDDã£ã½ãæ§æãç®æã
JavaScriptã©ã¤ãã©ãªãjQueryãã®éçºãã¼ã ã¯10æ29æ¥ãjQueryã©ã¤ãã©ãªã®ãã¼ã¸ã§ã³çªå·ä»ãã«ã¼ã«ãå称ã®å¤æ´ãè¡ããã¨ãçºè¡¨ããããInternet Explorerï¼IEï¼ 8ããªã©ã®å¤ãWebãã©ã¦ã¶ããµãã¼ããããjQuery 1.11.1ãã®æ¬¡æçã¯äºææ§ï¼Compatibilityï¼ã強調ãããjQuery Compat 3.0ãã¨ãªããæ°ããWebãã©ã¦ã¶ã®ã¿ããµãã¼ããããjQuery 2.11.1ãã®æ¬¡æçã¯ãjQuery 3.0ãã¨ãã¦ãªãªã¼ã¹ããã¨ããã jQueryã¯2013å¹´ãã2ã¤ã®ãã¼ã¸ã§ã³ãå¹³è¡ãã¦ãªãªã¼ã¹ãã¦ããã主ã¨ãã¦IE8以åã«å¯¾å¿ãããã©ãããéãã¨ãªãããã¼ã¸ã§ã³8以ä¸ã®IEãªã©å¤ãWebãã©ã¦ã¶ããµãã¼ããããã¼ã¸ã§ã³ã1ç³»ï¼ææ°çã¯ãã¼ã¸ã§ã³1.11.1ï¼ãã³ã¼ãåçåã®ããã«ãããã®ãµãã¼ããå»æ¢ãããã¼ã¸ã§ã³ã2ç³»
The jQuery Foundationã¯ãJavaScriptã©ã¤ãã©ãªjQueryã®ææ°çã¨ãã¦ããã¼ã¸ã§ã³1.11.1ã®å¾ç¶ã¨ãªããjQuery Compat 3.0ãããã¼ã¸ã§ã³2.1.1ã®å¾ç¶ã¨ãªããjQuery 3.0ãããªãªã¼ã¹ãããã¨ããå ¬å¼ããã°ã®10æ29æ¥ï¼ç¾å°æéï¼ä»ãã®æ稿ã§çºè¡¨ããã jQueryã¯ãWebãã©ã¦ã¶ã®APIäºææ§ã«å¯¾å¿ãã¹ãã2013å¹´ã«äºææ§ãæ大éã«éè¦ãããã¼ã¸ã§ã³1.xç³»åã¨ãInternet Explorer 8以åã®å¤ããã©ã¦ã¶ããµãã¼ãããªããã¼ã¸ã§ã³2.xç³»åã¨ã«åããã¦ããã ãã ãã1.xç³»åã¨2.xç³»åã§ã¯ãå é¨å®è£ ããç°ãªããã®ã®ãAPIã¨ãã¦ã®åä½ã¯åãã§ãããããã¯ãjQuery Compat 3.0ãã¨ãjQuery 3.0ãã§ãå¼ãç¶ãããã ãªããã¡ã¤ã³ããã±ã¼ã¸ã®ãjQueryãã¯ãææ°ãã¼ã¸ã§ã³ããã³1ã¤å
対象èªè jQueryãªã©ã使ã£ã¦ããJavaScriptéçºè JavaScriptã使ã£ãè¤æ°äººã§ã®ããã¸ã§ã¯ãã«åå ãã¦ããæ¹ JavaScriptã使ã£ã¦ãµã¼ãçã¨é£æºããããã³ãã¨ã³ãã®éçºããã¦ããæ¹ å¿ è¦ãªç°å¢ ãã®è¨äºã§ã¯ãAngularJSã使ç¨ããChromeï¼36.0ï¼ãIE11ãFirefoxï¼31.0ï¼ãSafariï¼7.0.5ï¼ã®ç°å¢ã§ç¢ºèªãè¡ã£ã¦ãã¾ãã ãµã³ãã«ã¢ããªã±ã¼ã·ã§ã³ã®æ¦è¦ ä»åä½æããã¢ããªã±ã¼ã·ã§ã³ã¯ãåç´ãªãã¿ã¹ã¯ç®¡çãã®ã¢ããªã±ã¼ã·ã§ã³ã§ãã次ã®ãããª3ã¤ã®ç»é¢ãä½ãã¾ãã ã¿ã¹ã¯ï¼ä»¶åã¨ã¡ã¢ï¼ãç»é²ããç»é¢ ç»é²ããã¿ã¹ã¯ä¸è¦§ã表示ããç»é¢ ç»é²ããã¿ã¹ã¯ãåç §ããç»é¢ã¨ãåé¤ããçºã®ç»é¢ ãã¼ã¸é·ç§»ã¯ã·ã³ã°ã«ãã¼ã¸ã¢ããªã±ã¼ã·ã§ã³å½¢å¼ã§ä½æãã¾ããã·ã³ã°ã«ãã¼ã¸ã¢ããªã±ã¼ã·ã§ã³ã¨ã¯ãjQuery Mobileãªã©ã§ã使ããã¦ããæ¹å¼ã§ã
jQueryã§aãªã³ã¯ã«ã¤ãã³ããè¨å®ããã¢ãã³ãªæ¸ãæ¹ãæãã¦ãã ãã ãªã³ã¯ã«ã¯ãªãã¯ã¤ãã³ããè¨å®ããã¨ã æå <a href="#" onClick="jump(1);">ãã¼ã¸ï¼</a> <a href="#" onClick="jump(2);">ãã¼ã¸ï¼</a> function jump(page) { location.href = 'http://hoge' + page; } ã¨ãã¦ã¾ãããããªãã¨ãªãjQueryã§ãã¼ãæã«ã¤ãã³ããè¨å®ããæ¹ãè¯ãã®ããªã¨æã£ã¦ã以ä¸ã®ããã«ç´ãã¾ãã $(function(){ $("#one").click(function(){ location.href = 'http://hoge' + 1; }); $("#two").click(function(){ location.href = 'http://hoge' +
ã寿å¸é£ã¹ããæãé«ã¾ã£ã¦ãã¾ã£ãã¨ãã å©é· ç·©å ã«ããã»ã¯ãªã¨ã¤ãæ ªå¼ä¼ç¤¾ ããå¯¿å¸ ãã¼ã ãã¼ã¸ æ ªå¼ä¼ç¤¾ãããã©ã¹ã·ãã¼|TOP|åè»¢å¯¿å¸ ããéå丸 åèã»æ±äº¬ã»å¼çã»ç¥å¥å·ã®ã寿å¸å±ãã å æ°å¯¿å¸æ ªå¼ä¼ç¤¾ãã¼ã ãã¼ã¸ | å¹³ç¦å¯¿å¸ http://www.bikkuri.co.jp/ æ¢ ä¸å¯¿å¸ã®ç¾ç»å©ç·æ¬åº
ããããã¦ã¼ã¶ããªãã£ã®é«ããã©ã¼ã ãä½ã£ã å ¥åå 容ã®æ¤è¨¼ã¨ããéµä¾¿çªå·å¤æãåããããããã使ãããããã©ã¼ã ã®ãã³ãã¬ã¼ããä½ãã¾ãã time2014/01/18 hatenabookmark- å»å¹´æ«å®å®¶ã«å¸°çãã¦ããæã«ãjQueryã®ç·´ç¿ï¼æ¥åã§ä½¿ãããã«ããã©ã¼ã ããªãã¼ã·ã§ã³ã¨ãéµä¾¿çªå·å¤æã¨ããåãããããããã¦ã¼ã¶ããªãã£ã®é«ãå ¥åãã©ã¼ã ãã³ã¼ãã£ã³ã°ãã¦ããã®ã§ãããã§å ¬éãã¦ããã¾ãã ãã©ã¼ã ãµã³ãã« ã½ã¼ã¹ãæã¡å¸°ãç¨ (Github) ããã§"ãããã"ã¨è¨ã£ã¦ããã®ã¯ããã¨ãã¨æ¥åã§ã¦ã¼ã¶ããªãã£æ¹åæ¡ã¨ãã¦ä½¿ããã¨ãç®çã§ãã£ã¦ããã¹ããç®æãã¦ããµã¼ãå¶ç´ãã³ã¹ãçãªè¦³ç¹ã§ä½¿ããªããã¨ããããããããã¯ç®æããªããã¨ããæå³ã§ããããããããã©ã¼ã ã¯å¿ è¦æªã§ããããã¹ãã¯ãã©ã¼ã ãåå¨ããªããã¨ã§ããã ããã³ãã¨ã³ãå®è£ ã ãã§ãï¼ãµã¼ãå´ã¹ã¯ãªãã
ããªãä»ããæã¯ããã¾ããã©ãulã»olã»liè¦ç´ é¢é£ã®åå¿é²ã§ãã 対å¿ãã©ã¦ã¶ï¼ç¹ã«ä¸é¨ã®IEã§æªå¯¾å¿ï¼ã¨ããããã使ãå ´é¢ããããªã«ãªãã¨ãã®çç±ã§ä½¿ç¨é »åº¦ãããªãä½ãã¨æãã®ãããã¾ãããä½ããããã使ããã¨æã£ãã¨ãã«ããã¨æãæµ®ãã°ãªãããªã®ã§æ¸ãæ®ãã¦ããã¾ãã list-style-type ãªã¹ããã¼ã«ã¼ã®ç¨®é¡ãæå®ããããããã£list-style-typeã®ã¡ã¢ã§ãã 使ç¨é »åº¦ãé«ãã¨æãã®ã¯ulãolã«ããã©ã«ãã§è¨å®ããã¦ããdiscãdecimal辺ããã¨æãã¾ãããä»ã«ãããããããã®ã¨ä¸é¨ã®ãã©ã¦ã¶ã§ã¯æªå¯¾å¿ãªã©ããã®ã§ãããã¨ç¢ºèªãããã¨ãã®ããã«ä¸è¦§ã«ãã¾ããã ç»åã¯Win7 Chromeã§ã®è¡¨ç¤ºããã£ããã£ãããã®ã ChromeãFirefoxã¨ãã£ããã©ã¦ã¶ã§ã¯ä¸è¨ã®ããã«åé¡ãªã表示ããã¾ãããIEã§ã¯ä¸é¨ã®ãã¼ã«ã¼ã対å¿ãã¦ããªãå ´åãããã¾
JavaScriptã§ãã£ã¨ã人æ°ã®ããã©ã¤ãã©ãªjQueryã®ææ°çããjQuery 2.0ããæ£å¼ã«ãªãªã¼ã¹ããã¾ããã jQuery 2.0ã¯ãjQuery 1.xããã®ã¡ã¸ã£ã¼ãã¼ã¸ã§ã³ã¢ããã«ãªãã¾ãããAPIã®å¤æ´ã大ããªæ©è½è¿½å ã¯ããã¾ãããInternet Explorer 6/7/8ã®ãµãã¼ããå»æ¢ãããã¨ã§ããããã®ãµãã¼ãã«å¿ è¦ã ã£ãç´°ããªããã¯ãä¸æãããããã¢ãã³ãã©ã¦ã¶ã«ãã©ã¼ã«ã¹ãã¦ã³ã¼ããæ¸ãç´ããã¨ã«ãããããå°ãããéããå®å®ããåä½ãç®æãããã®ã§ãã jQuery 2.0ã¯jQuery 1.9.1ã«æ¯ã¹ã¦12ï¼ å°ãããªã£ã¦ãã¾ãã ä»å¾ãjQuery 2.0ã§ã¯å¤ããªã£ãç°å¢ã®ãµãã¼ããå»æ¢ãããã¨ã§ããã軽éã§é«éãªã©ã¤ãã©ãªãç®æãäºå®ã§ã次ã«ãµãã¼ãå»æ¢äºå®ãªã®ã¯Android/WebKit 2.xã®Webãã©ã¦ã¶ãå©ç¨ã·ã§ã¢ã®æ¨ç§»ãè¦ã¤ã¤ãã
jQueryãã¡ã¤ã³ã«HTML5ãCSS3ã使ã£ããªãããªè¡¨ç¾ã®ããã®ãã¯ããã¯ãç´¹ä»ãã¾ãã¯ãã©ã©ãã¯ã¹ã¨ãã§ã¯ãã®åºæ¬ããã Webãµã¤ãã®55ï¼ ã§å©ç¨ããã¦ããjQuery ã¯ããã¾ãã¦ãã¯ã©ã¹ã¡ã½ããã®ããã³ãã¨ã³ãã¨ã³ã¸ãã¢ãå±±ç°ã§ãããjQueryÃHTML5ÃCSS3ãçé¢ç®ã«åå¼·ãã¨ããé£è¼ãã¹ã¿ã¼ããã¾ãã 2005å¹´2æã«Google mapsãç»å ´ãã¦ä»¥æ¥ãWebéçºè ã®éã§JavaScriptã®æ ªã¯ä¸æã®ä¸éããã©ã£ã¦ãã¾ãããã®å¢ãã¯ã¨ã©ã¾ããã¨ãç¥ããããªãããªWebã³ã³ãã³ããä½ãã«ã¯ãFlashãã¯ããã¨ãããã©ã°ã¤ã³ã«é ¼ãã¨ãããããã¾ã§ã®å¸¸èããã£ããè¦ãã¦ãã¾ãã¾ããã ããã«ãHTML5ãCSS3ãç»å ´ããåãã³ãã®ãã©ã¦ã¶ãWebæ¨æºã®ä»æ§ã«åããã¦å®è£ ã®è¶³ä¸¦ã¿ãæãå§ãããªã©ããã©ã°ã¤ã³ã«é ¼ããã¨ããªãããªUIã®Webã³ã³ãã³ããå°ãªãæéã§ä½ã
ã¡ãã£ã¨è©±é¡ã¨ãã¦ã¯ä¹ãé ããæãæ¼ãã¾ãããå ææ«ã« jQuery 1.9 ã®æ£å¼çãããã³ jQuery 2.0 ã®ãã¼ã¿çããªãªã¼ã¹ããã¾ããã jQuery 1.9 final, jQuery 2.0 beta, Migrate final released ï¼ Official jQuery Blog ããã«éãã¦å ¬éããããjQuery 1.9 ã¸ã®ç§»è¡ã¬ã¤ã ãjQuery Core 1.9 Upgrade Guideã ã翻訳ãã¦ã¿ãã®ã§ä¸è¨ã«å ¬éãã¦ã¿ã¾ãã jQuery 1.9 / 2.0 ã¨ã¯ï¼ jQuery 2.0 㯠IE 6/7/8 ã¸ã®å¯¾å¿ãããããã¨ã§ããã軽éã§é«éãããã¦å®å®åãç®æãã jQuery ã®ã¡ã¸ã£ã¼ãã¼ã¸ã§ã³ã¢ããçã§ãããjQuery 1.9 㯠2.0 㨠å®å ¨ãªäºææ§ãæã¡ã¤ã¤ããã¬ã¬ã·ã¼ãã©ã¦ã¶ã¸ã®å¯¾å¿ãå¯è½ãªãã¼ã¸ã§ã³ã§ãIE 8
ã¾ããã 2013/01/15 ã« jQuery 1.9 㨠2.0 ãã¼ã¿ããªãªã¼ã¹ããã¦ï¼ãµãã¼ããã©ã¦ã¶ãã©ãã¨ãäºææ§ãã©ãã¨ãããã話ãã¡ãã»ãåºãä¸ï¼jQuery 1.6.3 ããç¶ã jQuery('ã»ã¬ã¯ã¿ã ã¨æã£ããè¦ç´ çæã§ããã«ã¡ã¯ããã«ã¡ã¯') åé¡ ã¸ã®å¯¾å¿ã«ä¸å¿ã®çµæ¢ç¬¦ãæãããã®ã§ããããæ¸ãã¦ã¿ãï¼ ver 1.6.2 以å jQuery ã® 1.6.2 ã¾ã§ã¯ $(String) ã¨ããã¨ãï¼ãString ã«ãªããï¼ HTML ã®ï¼ã¿ã°ãå ¥ã£ã¦ãã£ã½ãããã¨å¤æããã¨è¦ç´ ãçæãï¼ãããããªããã° CSS çãªã»ã¬ã¯ã¿ã¨ãã¦æ¯ãèãã¨ããæ©è½ãããã¾ããï¼ å¤§æµã®å ´åï¼å¤§ããªåé¡ã¯ãªãã£ãã®ã§ããã©ãï¼ã¦ã¼ã¶å ¥åããã»ã¬ã¯ã¿ãçµã¿ç«ã¦ãã¨ãã«åé¡ã«ãªãã¾ããï¼ ã¨ãã« '#' ãå«ãã æåå㧠ID ã»ã¬ã¯ã¿ã¨ãã¦æ¯èããããã¨ããã®ãå ¸åçã§ï¼ãªãã§ã
ç½ç³ ä¿å¹³ ãã¥ã¼ã¹ jquery 0 Comment 2013å¹´1æ17æ¥ãjQueryãå ¬å¼ãã®ãã©ã°ã¤ã³ã»ã¬ã¸ã¹ããªï¼ãã©ã°ã¤ã³ã®éç©å ´ï¼ãå ¬éããã¾ããï¼ URLã¯ãã¡ãã«ãªãã¾ãã http://plugins.jquery.com/ ãã®ãã©ã°ã¤ã³ã»ã¬ã¸ã¹ããªã®ç®çã¯ãå¾æ¥ã®ãã©ã°ã¤ã³ãµã¤ãã§ã¯è§£æ±ºã§ããªãã£ãããæçåãã¨ãé å¸ãã®åé¡ã解決ãããã¨ã ããã§ãã ãæçåãã»ã»ã»ãjQuery ãã©ã°ã¤ã³ãWebä¸ã®è³ãæã«ãããæ¢ãã®ãé¢åãã¨ãããç¾å¨ã®ç¶æ³ ãé å¸ãã»ã»ã»ä½æãããã©ã°ã¤ã³ãé å¸ããããã®ãµã¤ãä½æã宣ä¼ã«æéãããããå¾æ¥ã®ãã©ã°ã¤ã³ãµã¤ãã§ã¯ç»é²ãé¢åã ã£ã æ°ãããã©ã°ã¤ã³ã»ã¬ã¸ã¹ããªã¯ãGitHubã¨é£æºãããã¨ãåæã¨ãã¦ãããããåé¡ãã¨ã¬ã¬ã³ãã«è§£æ±ºããå¾æ¥ã®ãã©ã°ã¤ã³ãµã¤ããå®å ¨ã«ç½®ãæãããã®ã§ãã éçºè ã«ã¨ã£ã¦ã¯ããã©ã°ã¤ã³ãå ¬é
Webä¸ã§ä½¿ããã¦ãããã¯ããã¸ã¼ã®ã·ã§ã¢ã種é¡ã調æ»ãå ±åãã¦ããWebãµã¤ããW3Techsã«ããã¨ã2013å¹´1ææç¹ã§ãjQueryãå©ç¨ãã¦ããWebãµã¤ãã¯å ¨ä½ã®54.8ï¼ ã¨éåæ°ã示ãä¸æ¹ããã以å¤ã®JavaScriptã©ã¤ãã©ãªã¯2ä½ã®MooToolsã4.9ï¼ ã3ä½ã®Prototypeã3.7ï¼ ã¨ä¸æ¡å°ã®å©ç¨çã§ããã¨ã®ãã¨ã§ãã ã¾ããJavaScriptã©ã¤ãã©ãªãå©ç¨ãã¦ããªãWebãµã¤ãã®å²åã¯ä¸è²«ãã¦ä½ä¸ãç¶ããç¾æç¹ã§39.4ï¼ ã¨ãªããjQueryãå©ç¨ãã¦ããWebãµã¤ããããå°ãªããã¨ã示ããã¾ãããã°ã©ããè¦ãã¨ä¸¡è ã®ã·ã§ã¢ã¯2012å¹´4æä¸æ¬ã«é転ãã¦ããããã¾ãjQueryã使ã£ã¦ããæ¹ããæ®éã®Webãµã¤ããã¨è¨ãããã§ãã Webãµã¤ããã¯ãã¼ã«ãã¦èª¿æ» ã°ã©ããè¦ãéããjQueryã®ã¿ãä¸è²«ãã¦å©ç¨çãåä¸ããã¦ããä¸æ¹ãJavaScript
æ¦å¿µ/ä»çµã¿ Deferred/Promisesã¯éåæå¦çãç°¡åã«ããããã®åã決ãã callback hellã¨å¼ã°ãã¦ãããããªãéåæå¦çã«ããã³ã¼ã«ããã¯ã®ãã¹ãã軽æ¸ãããã¨ãã§ãã¦é常ã«ä¾¿å©ã æ £ããã°ä¾¿å©ã ããä¸è¦ã©ã使ãã°ããã®ãåããã¥ããã®ã§ãå°ã解説ãæ¸ãã ããã§ã¯Promises/Aã¨ããä»æ§ãå®è£ ããQã¨ããã©ã¤ãã©ãªã使ãããjQuery.Deferredãªã©ãã»ã¼åãã§ããã ã¾ããDeferred/Promisesã¯ãé¢æ°ã®returnãtry/catchã®éåæçã§ããã www.example.comã®å 容ãåå¾ããæ£ããåå¾ã§ãããä¸èº«ã表示ããåå¾ã§ããªããã°ã¨ã©ã¼ã表示ãããã¨ããããã°ã©ã 㯠åæçãªã³ã¼ãã§ã¯ã function get() { var req = new XMLHttpRequest(); req.open('GET',
12 æ 13 æ¥ã« Kyoto.js ã®ç¬¬ 3 å meetup ã§ããjQuery 㧠HTTP æ¥ç¶ããã¨ãã®æ¸ãæ¹ãã¨é¡ãã 5 åéã®ã©ã¤ããã³ã°ãã¼ã¯ãè¡ãã¾ããã以ä¸ã«ãã®å 容ãä¸é¨åæ§æãã¦åé²ãã¾ãã ããã«ã¡ã¯ãnanto_vi ã§ããä»æ¥ã¯ jQuery 㧠HTTP æ¥ç¶ãããã¨ãã®æ¸ãæ¹ã«ã¤ãã¦è©±ãã¾ãã çãã jQuery ã使ããã¨ãå¤ããã¨æãã¾ããjQuery 㧠HTTP æ¥ç¶ãããã¨ããå¤ããµã³ãã«ã ã¨æ¬¡ã®ãããªæ¸ãæ¹ãè¼ã£ã¦ãã¾ãã $.ajax({ url: '/foo/bar', data: { baz: 'qux' }, success: function (data) { console.log(data); }, }); æ¥ç¶å®äºæã®å¦çãã³ã¼ã«ããã¯é¢æ°ã¨ã㦠$.ajax() ã«æ¸¡ãã¦ããå½¢ã§ãããããããç¾å¨ãã®æ¸ãæ¹ã¯éæ¨å¥¨ã¨ãªã£
iPhoneã®clickã¤ãã³ãã®æå æ¬ã¨ã³ããªã¼ã¯è»½ãã®jQuery Advent Calendar 2012æçµæ¥ã®ã¨ã³ããªã¼ã§ãã iPhoneã¯onã¡ã½ãããå©ç¨ããclickã¤ãã³ãã«çµæ§ã¯ã»ãããã®ã§ããã解説ãããæãã¾ãã <p class="target">ã¿ã¼ã²ãã</p> ãã®ãããªHTMLã«clickã¤ãã³ãããã¤ã³ããã¦ããã¾ãã ã¾ãã¯æ¬¡ã®ãããªã³ã¼ãã $(".target").click(function(){ $(this).css("background","red"); }); sample ããã¯ã¡ããã¨åãã¾ãã 次ã®ã³ã¼ãã $(".target").on("click",function(){ $(this).css("background","red"); }); ãããã¡ããã¨åãã¾ãã sample ãããè¸ã¾ããä¸ã§æ¬¡ãããåããªãã³
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}