54
rated 0 times
[
55]
[
1]
/ answers: 1 / hits: 25384
/ 13 Years ago, thu, april 14, 2011, 12:00:00
I'd like to display a div on a webpage when a user clicks on a button.
Does someone know how to do this ?
My code, so far, is :
<html>
<head>
<meta http-equiv=Content-Type content=text/html; charset=iso 8859-1 />
</head>
<body>
<input id=text type=text size=60 value=Type your text here />
<input type=button value=When typing whatever text display the div balise on the page onclick=check(); />
<script type=text/javascript>
function check() {
//Display my div balise named level0;
}
</script>
</body>
</html>
Thanks,
Bruno
EDIT: All my code (I've erased it because it was too long and not very clear)
More From » html