Code Archive Skip to content Google About Google Privacy Terms
第21åjQueryã§AJAXå ¥éï¼Google AJAX Feed APIãå©ç¨ããRSSã®èªã¿è¾¼ã¿ã¨ãã©ã°ã¤ã³ã¸ã®çµã¿è¾¼ã¿ é·è°·å·åºæ¦ï¼ã¯ãããã²ããï¼h2hamï¼ ï¼å¾³ç°åè¦ 2010-10-08 第20åjQueryã§AJAXå ¥éï¼æ£è¦è¡¨ç¾ã§ãµã¤ãã«è¡¨ç¤ºããTwitterã«ãªã³ã¯ãã¤ãã é·è°·å·åºæ¦ï¼ã¯ãããã²ããï¼h2hamï¼ ï¼å¾³ç°åè¦ 2010-03-24
Yahoo! UIãå©ç¨ããTreeViewã®ãµã³ãã«éã§ãã Yahoo! UI TreeViewãå©ç¨ããããã«ã¯ãä¸è¨ã®ããã«ã½ã¼ã¹ãã¡ã¤ã«ãèªã¿è¾¼ãå¿ è¦ãããã¾ãã Yahoo! UIãå©ç¨ããRich Text Editorã®ãµã³ãã«éã§ãã Yahoo! UI Rich Text Editorãå©ç¨ããããã«ã¯ãä¸è¨ã®ããã«ã½ã¼ã¹ãã¡ã¤ã«ãèªã¿è¾¼ãå¿ è¦ãããã¾ãã ã¨ãã£ã¿ã使ç¨ããå ´å Yahoo! UIãå©ç¨ããResizeã®ãµã³ãã«éã§ãã Yahoo! UI Resizeãå©ç¨ããããã«ã¯ãä¸è¨ã®ããã«ã½ã¼ã¹ãã¡ã¤ã«ãèªã¿è¾¼ãå¿ è¦ãããã¾ãã
Kindleçã®è³¼å ¥ï¼ï¿¥450åï¼ æ¬æ¸ã®ã¡ãã¥ã¼ ãjQueryå ¥ééå ´ãã¨ãããåãã jQuery Deferredãã®2åãAmazon Kindleã®é»åæ¸ç±ã¨ãã¦è²©å£²ãã¦ããã¾ããæ¬ãµã¤ãã§ã¯ãjQueryå ¥ééå ´ãã®5ç« ã¾ã§ã®å 容ãã«ããç¡ãã§WEBçã§å ¬éãã¦ããã¾ãã å§ãã« jQueryã¨ã¯ï¼ ã»ã¬ã¯ã¿ã¼ å±æ§ãCSSæä½ HTMLãããã¹ãããã©ã¼ã å¤ã®åå¾ï¼è¨å® 横æï¼Traversingï¼ jQueryãªãã¸ã§ã¯ãæä½ ã¤ãã³ãå¦ç AJAX ã¨ãã§ã¯ãã»ã¢ãã¡ã¼ã·ã§ã³ ãããã㣠.data() ã¦ã¼ãã£ãªã£ï¼é¢æ°ï¼ ãã©ã°ã¤ã³ ãã®ä» ãã®ä»ãç®æ¬¡ãªã©è©³ããã¯ãjQueryå ¥ééå ´ç´¹ä»ãã¼ã¸ãã覧ãã ããã é»åæ¸ç±ã®å½¢å¼ã¨è³¼å ¥å Amazon Kindleçã§ã¯ãPDFã®ãããªåºå®ã¬ã¤ã¢ã¦ãã§ã¯ãªãããªããã¼åã«ãªãã¾ãããªããã¼åã¨ã¯ãè¦ã端æ«ã«ãã表示ã
Flexigrid ã¯å ã®ä¾ã§ã¿ãããã«ãHTML ã«ãã¼ãã³ã¼ããããã¹ã¿ãã£ãã¯ãªãã¼ã¿ã«é©ç¨ãããã¨ãã§ãã¾ãã ããããªãããAJAX ã§å¾ãããã¼ã¿ããã¤ã³ãããã¨ããã«ç¹ã«å¼·ã¿ãããã¨ããã¾ãã ããã§ã¯ Flexigrid ã¨ãã¤ã³ãå¯è½ãªãã¼ã¿æ§é ã«ã¤ãã¦ãå®ä¾ãããã¦èª¬æãã¾ãã JavaScript ã§ã®ã°ãªããå®ç¾© JavaScript 㧠Flexigrid ã®å®ç¾©ãè¡ãã¾ãã $( function() { $("#grid1").flexigrid({ url: 'data1.php', dataType: 'json', colModel : [ {display:'ID',name:'iid',width:40,sortable:true,align:'left'}, {display:'ã¿ã¤ãã«',name:'title',width:250,sortab
Ajax ï¼ã¨ã¤ã¸ã£ãã¯ã¹ï¼ã¨ã¯ãAsynchronous JavaScript + XML ã®ç¥ã§ãéåæéä¿¡ãå©ç¨ãã¦ãã¼ã¿ãåå¾ããããåçã«ã¦ã§ããã¼ã¸ã®å 容ãæ¸ãæããæè¡ã®ãã¨ã§ããã¢ã¸ã£ãã¯ã¹ã¨çºé³ãããã¨ãããã¾ãã Ajaxã¨ããå称ã¯ã2005å¹´2æã«Jesse James Garrettæ°ã«ãã£ã¦åä»ãããã¾ãããAjaxã¯æ°ããæè¡ã¨ãããããæ¢åã®æè¡ãçµã¿åããããã®ã§ããAjaxã®ä¸å¿æè¡ã§ãã JavaScript ã XMLãCSS 㯠Ajaxã¨ããå称ãæ®åããåããæ¢ã«ä½¿ããã¦ãã¾ããã ãããæè¡ã«ååãä»ãããããã¨ã®æå³ã¯å¤§ãããGoogle Map ãªã©ã«å©ç¨ããããã¨ããããä¸æ°ã«Ajaxã®å¯è½æ§ã注ç®ããã¾ããã ãããåä½ã«å¿ è¦ãªã®ã¯Webãã©ã¦ã¶ã ãã§ãããã¨ãããã¹ã¯ãããã¢ããªã±ã¼ã·ã§ã³ã®ãããªæä½æ§ãå®ç¾ã§ãããã¨ãããå®ç¨æ§ã
JSãå°ãã§ãã人ãªãããããèããã»ã©ã®ãã¨ãã§ããªãï¼ ä½ãé£ãããã¨ã¯ãªãï¼ã¶ã£ã¨ãã¢ã¾ããªãï¼ãã£ããã¼ï¼ï¼ï¼ ã¨ããããªã§Ajaxãå¦ãã§ã¿ã¾ãããéãã§ãã Ajaxå ¥é Ajaxã¯ããããã§ãããã ãï¼ ä»¥ä¸å ¥éçµãï¼ããã¯å®ç§ã ï¼æ¬¡ããï¼ Ajaxã¯éåæéä¿¡ã ããªãã ããããªããã¯ã©ãã§ããããã ï¼ ã©ãã§ãããï¼ãããªãã¨ãããXMLHttpRequestãªãã¸ã§ã¯ãçæï¼ var request = false; if(window.XMLHttpRequest) { request = new XMLHttpRequest(); //frefox ie7,8 safai opera } else if(window.ActiveXObject) { try { request = new ActiveXObject("Msxml2.XMLHTTP"); // ie6
ç¾å¨ãJavaScriptã§ãã£ã¨ãéè¦ãªæ©è½ã¯ä½ãï¼ã¨ããã°ããAjaxãã¨å¤ãã®äººãçããã§ããããAjaxï¼JavaScript + XMLã«ããéåæéä¿¡ï¼ã¯ããã¼ã¸ã移åãããã¨ãªããµã¼ãã¼ã¸å¿ è¦ã«å¿ãã¦æ¥ç¶ããã¼ã¿ãåå¾ããææ³ã¨ãã¦åºã使ããã¦ãã¾ãããããã®Ajaxã¨ããæ©è½ãé常ã«ä¾¿å©ã§ã¯ããããã©åé¡ãããã¾ãã ï¼ï¼äºææ§ã®åé¡ãAjaxã®æ©è½ãæä¾ãããªãã¸ã§ã¯ãããWebãã©ã¦ã¶ã«ãã£ã¦å¾®å¦ã«éããããã¾ããã¯ã£ããããã°ãIEã®ãããâ¦â¦ãããIEã®æ§ãã¼ã¸ã§ã³ãActiveXã使ã£ãç¹æ®ãªã¢ããã¼ããåã£ã¦ããããã§ãããIEã®ææ°çãã対å¿ããªãï¼ãã¨å²ããã£ã¦ãã¾ãã°ããã®ã§ãããã¾ã IE6ãããªã使ããã¦ããç¾ç¶ã§ã¯ãããç¨åº¦ãå¤ããã¼ã¸ã§ã³ã®å¯¾å¿ãèããªããã°ãããªãã§ãããã ï¼ï¼ã³ã¼ãã£ã³ã°ã®é¢åãããéåæéä¿¡ãã¨ããã®ã¯ãéä¿¡ãéå§ããããã£ã±
Ajaxã®ããã°ã©ã ã§jQueryã®readyã使ã£ã¦ã¿ã¾ãããã jQueryã¨ã¯JavaScriptã©ã¤ãã©ãªã®ä¸ç¨®ã§ãä»ãããã¡ã¯ãã¹ã¿ã³ãã¼ãã¨è¨ãããããã人æ°ã§ãã ååã¯ããã¨JavaScriptã®ããã°ã©ã ã®ä¸ã§ãjQueryã®æ©è½ãå¼ã³åºãã¦ãã¾ããã ä½æ ãªããæåã¯ã§ããã ãå ã®ããã°ã©ã ãå¤æ´ããã«ã æå°éã®ä¿®æ£ã ãã§åãããã«ãããã£ãããã§ãã ã§ãjQueryã£ã½ãæ¸ãæ¹ã¨ãããã æ¬æ¥ãªãjQueryã®ã¤ãã³ããã¡ã½ããã使ã£ãæ¸ãæ¹ãããã¾ãã ããã§ä»åã¯ãåã®ããã°ã©ã ããjQueryã主ä½ã¨ãã¦æ¸ãæãã¦ã¿ã¾ãã æ©éããã£ã¦ã¿ã¾ãããã ã1ãååã«ä½æããsample002jq ãã©ã«ããã³ãã¼ã㦠sample002jq-2 ãã©ã«ããä½æãã¾ãã ã2ãä»åã¯ä»¥ä¸ã®ãããªãã¡ã¤ã«ã®æ§æã«ãªãã¾ãã ã»test.js ãå°ãã ãå¤æ´ãã¾ãã
Ajax ã¨ã¯ Asynchronous JavaScript + XML ã®ç¥ã§ã Web ãµã¼ãã¼ã¨ãã©ã¦ã¶ã¨ã®éã§éåæéä¿¡ãè¡ãæ¹æ³ã§ãã Ajax ã®æ¹æ³ãå©ç¨ãããã¨ã§ããã¼ã¸ãåãæ¿ãããã¨ãªããã¼ã¸ã®å 容ãæ¸ãæãããã¨ãã§ããããã«ãªãã¾ãã JavaScript ã§ã¯ Aax ãç¨ããéåæéä¿¡ã«ã¯ XMLHttpRequest ãªãã¸ã§ã¯ãã使ç¨ãã¾ããããã§ã¯ Ajax ã使ã£ãéåæéä¿¡ãè¡ãæ¹æ³ã«ã¤ãã¦è§£èª¬ãã¾ãã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}