$('BODY',WINDOW.FRAMES[0].DOCUMENT).APPEND($TESTSHOW) BUG

$('BODY',WINDOW.FRAMES[0].DOCUMENT).APPEND($TESTSHOW) BUG

Reported by: anonymous Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.2
Keywords: Cc:
Blocking: Blocked by:
Description


<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 TransitionalEN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <!-- the same bug at jquery-1.6.3.min.js --> <!-- <script src="jquery-1.6.3.min.js" type="text/javascript" ></script> --> <script src="jquery-1.8.2.min.js" type="text/javascript" ></script> <script type="text/javascript"> $(function(){

var $testShow =$('<span>append jquery object</span>'); var testString ='<span>append String</span>'; $('body',window.frames[0].document).append(testString); try{

$('body',window.frames[0].document).append($testShow);

}catch(e){

alert(e.message); 参数无效

}

}); </script>

</head> <body> <iframe src=""></iframe> </body> </html>

你可能感兴趣的:(jquery bug)