2009-05-01から1ヶ月間の記事一覧
<html lang="ja"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Title</title> </head> <body> </body> </html>
margin: 0 auto; <div style="width:50px;height:50px;background-color:red;margin: 0 auto;"></div>
table.s0{ border-top:1px solid #c0c0c0; border-left:1px solid #c0c0c0; border-collapse:collapse; border-spacing:0; empty-cells:show; } .s0 td{ padding: 3px 5px; border-right:1px solid #c0c0c0; border-bottom:1px solid #c0c0c0; } <table border="1" class="s0"> <tr><td>a</td></tr> <tr><td>b</td></tr> </table>
ローカルではIEでXMLを正常に取得する事が出来ない(かもしれない)。 でも、Webサーバにアップすると正常に動作する可能性がある。 FireFox,ChromeではWebサーバ,ローカル共に動くみたい。 参考 http://watcher.moe-nifty.com/memo/2007/03/ie7_xmlhttprequ_0…
header("Content-Type: text/xml"); UTF-8N で保存してね。
参考 ttp://perltips.twinkle.cc/ajax/dom_getelementsbytagname.php<books> <book> <title>初めての AJAX</title> <author>AJAX 編集部</author> <publisher>AJAX 社</publisher> </book> <book> <title>初めての Perl</title> <author>Perl 編集部</author> <publisher>Perl 出版</publisher> </book> <book> <title>初めての PHP</title> </book></books>
// ○ <input type="checkbox" id="chawchaw"> var isChecked = document.getElementById("chawchaw").checked // false or true // × <input type="checkbox" id="chawchaw" value="1"> var isChecked = document.getElementById("chawchaw").value // isChecked = 1;
mb_language("uni"); mb_internal_encoding("utf-8"); mb_http_input("auto"); mb_http_output("utf-8"); これを追加してみるとなおるかもしれない
ttp://cppemb.blog17.fc2.com/blog-entry-42.html 転載 int x = B(0101); /* 0x05 */ template <int Bit> struct bit; template <> struct bit<0> { static const int value = 0; }; template <> struct bit<1> { static const int value = 1; }; template <unsigned long N> struct bi</unsigned></int>…
label1: while(true) { System.out.println("aaa"); break label1; } System.out.println("bbb"); 入れ子のループから指定のループを抜ける/コンティニュー。 break; continue;
int $ = 1; String a$ = "abc"; System.out.println($ + a$);//1abc
urlencode('あああ');
// 追加するコンポーネント側 //setSize(WIDTH, HEIGHT); setPreferredSize(new Dimension(WIDTH, HEIGHT)); // 追加されるコンポーネント側 frame = new JFrame(); //frame.setSize(WIDTH, HEIGHT); frame.setTitle(TITLE); frame.setDefaultCloseOperation…