<html>
<head>
<title></title>
<meta name="GENERATOR" content="Quanta Plus">
<meta http-equiv="Content-Type" content="text/html; charset=">
<script language="JavaScript" type="text/javascript">
function show(id){
var objArr=document.getElementsByTagName("div")
for(i=1;i<=objArr.length;i++){
if(i==id){
document.getElementById(i).style.display="block";
}else{
document.getElementById(i).style.display="none";
}
}
}
</script>
</head>
<body>
<FORM method="POST" name="frm_select">
<table>
<tbody>
<tr>
<td>
<SELECT name="cmb_elements"
onchange="show(document.frm_select.cmb
<option selected="selected">
Select
</option><option value="1">
form
</option><option value="2">
input box
</option><option value="3">
select box
</option><option value="4">
check box
</option>
</SELECT>
</td>
</tr>
</tbody>
</table>
<table>
<TR>
<TD>
<div id="1" style="display:none">
formADSFDSFDFDSFDSAFDASFdfa
</div>
<div id="2" style="display:none">
inputADSFDSFDFDSFDSAFDASFdfa
</div>
<div id="3" style="display:none">
select ADSFDSFDFDSFDSAFDASFdfa
</div>
<div id="3" style="display:none">
select ADSFDSFDFDSFDSAFDASFdfa
</div>
</TD>
</TR>
</table>
</FORM>
</body>
</html>
[Wednesday, March 28, 2007
|
0
comments
]
Popular Posts
- MySQL stored procedure&triggers
- php questions
- Php Questions
- How we canmove into last changed position on info window close event On google map
- Pattern Matching in mysql
- MYSQL joins
- Jquery based dynamic adding and removal of html elements.
- securing a form with captcha
- Comparing a date with current date
- Css
0 comments
Post a Comment
Please put your comments here. your questions, your suggestions, also what went wrong with me.