j'étais en trains de tester un remove sur ma page
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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 : Sélectionner tout - Visualiser dans une fenêtre à part
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 ?