ajoo
Programmer
- Jun 26, 2008
- 3
Hi,
Does any one have a script which will display the fields in my output table based on what user selects from dropdown.
Please see html below:
Here is what I need to do. When user first loads the page they should be able to see all recods. After that when they select any value only those rows should be select. For example if user selects Active from dropdown only rows with active status should be selected.
Thanks in advance
<html>
<head>
<title>RiskClassEditor</title>
<base href="<link href="/isis/isis.css" rel="stylesheet" type="text/css">
</head>
<body>
<table align ="center" border="1" width="50%" cellspacing="0" cellpadding="4">
<tr>
<SELECT NAME="mylist" onChange()>
<OPTION VALUE="m1">All
<OPTION VALUE="m2">No Owner Assigned
<OPTION VALUE="m3">Active
<OPTION VALUE="m4">InActive
</SELECT>
</tr>
</table>
<br>
<table align ="center" border="1" width="50%" cellspacing="0" cellpadding="4">
<tr class="tabletitle">
<td class="tabletitle">ID</td>
<td class="tabletitle">First Name</td>
<td class="tabletitle">Last Name</td>
<td class="tabletitle">Status</td>
</tr>
<tr class="light" id=>
<td class="white" >0001</td>
<td class="white" >Chris</td>
<td class="white" >kay</td>
<td class="white" >No Owner Assigned</td>
</tr>
<tr class="light" >
<td class="white" >0002</td>
<td class="white" >Sanjeev</td>
<td class="white" >Kumar</td>
<td class="white" >Active</td>
</tr>
<tr class="light" >
<td class="white" >0003</td>
<td class="white" >John</td>
<td class="white" >Font</td>
<td class="white" >InActive</td>
</tr>
<tr class="light" >
<td class="white" >0004</td>
<td class="white" >Ram</td>
<td class="white" >Kumar</td>
<td class="white" >InActive</td>
</tr>
<tr class="light" >
<td class="white" >0005</td>
<td class="white" >Amit</td>
<td class="white" >Goel</td>
<td class="white" >Active</td>
</tr>
<table>
</body>
</html>
Does any one have a script which will display the fields in my output table based on what user selects from dropdown.
Please see html below:
Here is what I need to do. When user first loads the page they should be able to see all recods. After that when they select any value only those rows should be select. For example if user selects Active from dropdown only rows with active status should be selected.
Thanks in advance
<html>
<head>
<title>RiskClassEditor</title>
<base href="<link href="/isis/isis.css" rel="stylesheet" type="text/css">
</head>
<body>
<table align ="center" border="1" width="50%" cellspacing="0" cellpadding="4">
<tr>
<SELECT NAME="mylist" onChange()>
<OPTION VALUE="m1">All
<OPTION VALUE="m2">No Owner Assigned
<OPTION VALUE="m3">Active
<OPTION VALUE="m4">InActive
</SELECT>
</tr>
</table>
<br>
<table align ="center" border="1" width="50%" cellspacing="0" cellpadding="4">
<tr class="tabletitle">
<td class="tabletitle">ID</td>
<td class="tabletitle">First Name</td>
<td class="tabletitle">Last Name</td>
<td class="tabletitle">Status</td>
</tr>
<tr class="light" id=>
<td class="white" >0001</td>
<td class="white" >Chris</td>
<td class="white" >kay</td>
<td class="white" >No Owner Assigned</td>
</tr>
<tr class="light" >
<td class="white" >0002</td>
<td class="white" >Sanjeev</td>
<td class="white" >Kumar</td>
<td class="white" >Active</td>
</tr>
<tr class="light" >
<td class="white" >0003</td>
<td class="white" >John</td>
<td class="white" >Font</td>
<td class="white" >InActive</td>
</tr>
<tr class="light" >
<td class="white" >0004</td>
<td class="white" >Ram</td>
<td class="white" >Kumar</td>
<td class="white" >InActive</td>
</tr>
<tr class="light" >
<td class="white" >0005</td>
<td class="white" >Amit</td>
<td class="white" >Goel</td>
<td class="white" >Active</td>
</tr>
<table>
</body>
</html>