jQselectable(jQuery.selectable.js)ã¨AjaxZip2ãä½µç¨ãã
ã³ã¡ã³ãã§ããã ããã®ã§è¨äºã«ãã¾ããAjaxZip2ãå®è¡ããã¨ãã«é½éåºçãè£å®ããã¾ãããé½éåºçã«selectableãé©ç¨ãã¦ããå ´åãè£å®ããã¦ã表示ãåãæ¿ããã¾ãããããã®å¯¾å¿æ¹æ³ã§ãã
æ¨å¹´11æã«jQuery.selectable.jsãã¢ãããã¼ãããã¨ãããã©ã°ã¤ã³ãGoogle Codeã§å ¬éãã¾ãããå ¬éç´å¾ã«ããåºãããPHPSPOTããã§ãç´¹ä»ãããããjQselectableã¯è²ã ãªæ¹ã«è¦ã¦ããã ãã¾ããããèå¿ã®ããã¥ã¡ã³ããããã¾ããããåºæ¬çã«ä½¿ãæ¹ã¯jQuery.selectable.jsã¨åãã§ãä»å説æããrebuildã¨ããã¡ã½ããã追å ãã¾ããã
ã¾ãã¯ãµã³ãã«ãã覧ãã ããã
å¿ è¦ãã¡ã¤ã«ã®èªã¿è¾¼ã¿
jQueryãGoogleã®JSAPIããèªãã§ãã¾ããããã¼ã«ã«ã§ãããã§ãã
å®è¡æé
jQselectableã®å®è¡
ããã¯jQuery.selectable.jsã¨åãã§ãã
var pref = $("#pref").jQselectable({ set: "fadeIn", setDuration: "fast", opacity: .9 });
ããã²ã¨ã¤ã ãéãã¨ããããã£ã¦
var pref = $("#pref").jQselectable({
å®è¡ãããã®ãå¤æ°ã«å ¥ãã¦ããã¾ãã
AjaxZip2ãå®è¡ããããã«ãã³ãã©ããã¤ã³ããã
AjaxZip2ã®ä½¿ãæ¹ã¯åãã£ã¦ãããã®ã¨ä»®å®ãã¦é²ãã¾ãã®ã§ãåãã¦ãªæ¹ã¯AjaxZip2ã®é å¸ãã¼ã¸ã確èªãã¦ãã ããã
$("#zip").keyup(function(){ // AjaxZip2 AjaxZip2.zip2addr(this,"pref","addr"); });
è£å®å¾ã«selectableãrebuildãã
è£å®å¾ã«ããã©ã¼ã«ã¹ãä½æã®æå¾ã«ç§»åãã¾ãããã®ã¨ãçºçãããblurãå©ç¨ãã¾ãã
$("#zip").blur(function(){ // rebuilds target jQselectable element pref.rebuild(); });
ããã§AjaxZip2å®è¡å¾ã«ãselectableã®è¦ãç®é¨åãæ§æãç´ãããè£å®ãããé½éåºçã表示ããã¾ãã
Trackbacks: 0
- Trackback URL for this entry
- Listed below are links to weblogs that reference
- jQselectable(jQuery.selectable.js)ã¨AjaxZip2ãä½µç¨ãã from 5509
Leave a comment