Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
Welcome to the first of what I hope will be a regular series of JavaScript tips. Object detection is common in JavaScript. Browser irregularities mean that your code must sometimes contain branches for different browsers. Here is a simple way to speed up object detection for a leaner and meaner script. Instead of this: function addEvent(element, type, handler) { if (element.addEventListener) { ele
Safariã§XMLHttpRequestã®responseTextãæååãããã¨ãã話ã http://blog.33rpm.jp/garbled-on-safari.html æè¿ã®ãã¼ã¸ã§ã³ã ã¨content-typeãã¡ããã¨ãã¦ãã°åããªãã£ããããªè¨æ¶ããããã©ãã¾ãã¨ãããã¨ãã¦ãSafariã§æååãããã®ã¯JavaScriptå´ã ãã§å¯¾å¦ãããã¨ãã§ãããããã http://kawa.at.webry.info/200511/article_9.html ããèªãã§ã»ãã¨ãããã£ã¦æãã ã£ããã ãã©æ¡å¤å½¹ã«ç«ã£ããlivedoor Readerã§ä½¿ããã¦ããã å®éã«ä½¿ããã¦ãã³ã¼ãã¯ãããªã®ã if(browser.isKHTML){ ajax.filter.add(function(t){ var esc = escape(t); return(esc.index
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}