<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
- php questions
- some php questions
- How to create a plugin in elgg.
- php Questions
- Mysql query for searching a value, add weightage on the number of occurances and sort based on the weight-age
- Contact Me
- solving the packaging problem in PHP
- How to add or remove WWW on URLs using htaccess.
- php questions
- Inserting nodes into xml files using XML DOM in PHP .
0 comments
Post a Comment
Please put your comments here. your questions, your suggestions, also what went wrong with me.