jQuery ã IE ã§ãããããã¼ã¼ã¼ãã£ã¦æã£ãã®ã§ãã¡ã¢ã£ã¨ãã
jQueryã»ã»ã»ã
便å©ã ãã©ãæå¤ã¨ IE ã§ããããããã»ã»ã»ã
option ã®æå¾ã« , ãæ¸ããå ´åã
ä¾ãã°ãããªã¨ã
$.ajax({ url: "ãããã", type: 'POST', dataType: 'xml', timeout: 10000, data: { "keyword": "test", }, error: function(){ alert('Error loading XML document'); }, success: function(xml){ hogehoge_success_flow; } });
ãããIE ã§ã¨ã©ã¼ãã§ãã»ã»ã»ã
åå ã¯
"keyword": "test",
ããã¤ã§ãã
option ãæå®ããã¨ããæå¾ã®ï¼è¡ã«ã¯,ãæ¸ãã¦ã¯ãã¡ã
firefox ã ã¨å¤§ä¸å¤«ã ãã©ãã
$("ï¼aï¼") ã¿ãããªæã㧠aã¿ã°ã®ã¨ã¬ã¡ã³ãçæ
ããã¯ãªããè¯ãåãããªãã
ã¨ããããã¡ã¢ãã¦ããã
var wordA = $("<a>").attr("href", "javascript:void(0);") .attr("id", "a_1") .bind("click", wrapper()) .text("word");
ãããªã¨ã¬ã¡ã³ãã®ä½ãæ¹ã
firefox ã ã¨åãã¾ãã
IE ã ã¨åããªãã»ã»ã
IE ã ã¨ä»¥ä¸ã®ããã«ãããåãã¾ããã
var wordA = $(document.createElement("a")).attr("href", "javascript:void(0);") .attr("id", "a_1") .bind("click", wrapper()) .text("word");
æªçãªä¿ºã«ã¯ãä½ãæ£ããã¦ãã©ããééã£ã¦ããã®ããããããã»ã»ã»ã
çµå±ã®ã¨ãããã©ãããã®ãæ£è§£ãªã®ï¼ï¼