no save
Assistance
Achat
News

Forum | Windows
Evènement ONCLICK avec JAVASCRIPT
PhP, le mar. 03 juin 2003 à 22:36:09
Bsr,

Voici un ex qui marche avec IE 5 ou + et NS 6 voir d'autres navigateurs récents qui supportent DOM

<html>
<head>
<script language="JavaScript">
<!--

function detail()
{
ref=document.getElementById("info");
ref.innerHTML="<table border=\"1\"><tr><td>"+
"<span color=#0000ff>Voici les infos complémentaires<br>qui vous avez demander..."+
"<br><a href=\"http://www.commentcamarche.net\">CCM c'est fun ;-)</a></span></td></tr></table>";
}

// -->
</script>
</head>
<body>

<form namle="fmr" id="frm">
<table>
<tr><td>Ceci est juste un résumé ...</td></tr>
<tr><td><input type="button" value="Plus d'info ..." onclick="detail()"></td><tr>
<tr><td id="info"> </td></tr>
</table>
</body>
</html>



PhP    [Push the button,Don't push the
.         button,Trip the station,Change the channel]
PrécédentLITTLE DOG
juin 03
Miccki
avr. 08
Suivant
REPONSES
AsKy
juin 03
ipl
juin 03
LITTLE DOG
juin 03
PhP
juin 03
Miccki
avr. 08
Version Web
Réalisé par RedShift
no save