February 2012 (3) January 2012 (10) December 2011 (7) November 2011 (4) October 2011 (9) September 2011 (8) August 2011 (3) July 2011 (7) June 2011 (11) May 2011 (9) April 2011 (15) March 2011 (20) February 2011 (15) January 2011 (5) December... 続きを読む
XMLHttpRequest でバイナリを扱う伝統的作法である x-user-defined について書いたことがある。 charset=x-user-defined について - JavaScriptで遊ぶよ - g:javascript x-user-defined だと、バイナリの1バイトが UTF-16 の1文字 (2バイト) に変換されることに... 続きを読む
Loading… Flash Player 9 (or above) is needed to view presentations. We have detected that you do not have it on your computer. To install it, go here. 続きを読む
In previous posts, we showed how to access a file through the input tag or through the Drag and Drop mechanism. In both cases, you can use XMLHttpRequest to upload the files and follow the upload progress. Demo If you’re running the latest b... 続きを読む
XMLHttpRequest is used within many Ajax libraries, but till the release of browsers such as Firefox 3.5 and Safari 4 has only been usable within the framework of the same-origin policy for JavaScript. This meant that a web application using X... 続きを読む
Update, December 23, 2008 Along with new PHP and Ruby encoders, we’ve moved the code to its new home on GitHub! Update, December 19, 2008 As previously noted, the original version of CSSHttpRequest failed to function in cross-domain context ... 続きを読む
FF3ではXHRで req.setRequestHeader( 'Content-Type', 'application/x-www-form-urlencoded' ); とすると、実際に送信されるHTTPリクエストは Content-Type: application/x-www-form-urlencoded; charset=UTF-8 のように、そのページのcharsetが自動的に付加さ... 続きを読む
These postings are provided "AS IS" with no warranties, and confer no rights. Use of included code samples are subject to the terms specified at Microsoft - Information on Terms of Use Rules for Comments on the IEBlog What We Talk About on IE... 続きを読む
[-]=======================================================================[-] Wizard Bible vol.34 (2007,6,12) [-]=======================================================================[-] x0xXx0xx0xXx0xx0xXx0xx0xXx0xx0xXx0xx0xXx0xx0xXx0xx0xXx... 続きを読む
XMLHttpRequestを使えば、自由に改行が操作できるみたい。例えば、こんなScriptがあったとすると。 http://hogehoge:8010/test.txt’ , true )"> XMLHttpRequestはリクエストとして、こういったものを投げる。(IE7で検証) POST /test.txt HTTP/1.1 Accept: */* ... 続きを読む
Jaslabsにて、IEでAjaxリクエストをキャッシュさせない方法が掲載されています。 IEの場合Ajaxを用いた通信を行うと、GETメソッドの場合一度実行されるとデータがキャッシュされて、2回目以降の通信はそのキャッシュされたデータを読みに行くようになってしまい... 続きを読む