Bonjour.

Ca me colle un </form> automatiquement
Comment éviter ça ?

Bonne journée


Code html : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html><html><head><script>
 
function test()
{
    document.getElementById('test').innerHTML = '<form action="./index.php?p=onreg" method="post">';
}
 
</script></head><body>
 
<div id='test'></div>
 
<input type='button' onclick='test()' value='clic'>
 
</body>
</html>