remove diffère sur ie et ffx
j'étais en trains de tester un remove sur ma page
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
<script type="text/javascript">
$(document).ready(function(){
$("br").remove()
})
</script>
</head>
<body>
hello<br/>
hello<br/>
hello<br/>
hello<br/>
hello<br/>
hello<br/>
</body>
</html> |
outre le fait qu'au départ j'étais orienté sur
Code:
1 2 3 4 5
| <script type="text/javascript">
$(document).ready(function(){
$("br").each(function(){$(this).remove();});
})
</script> |
le resultat diffère légèrement sur IE et ffx:
Citation:
Envoyé par IE
hellohellohellohellohellohello
Citation:
Envoyé par ffx
hello hello hello hello hello hello
Quelle en serait l'explication ?