respected sir/madam
i created combox and text box combobox value must displaied in textbox i got this code from you but now search button is not working.
how to serach text box value in table and text value must by combobox i need this code
<script>
function myFunction() {
var input, filter, found, table, tr, td, i, j;
input = document.getElementById("myInput");
filter = input.value.toUpperCase();
table = document.getElementById("myTable");
tr = table.getElementsByTagName("tr");
for (i = 0; i < tr.length; i++) {
td = tr[i].getElementsByTagName("td");
for (j = 0; j < td.length; j++) {
if (td[j].innerHTML.toUpperCase().indexOf(filter) > -1) {
found = true;
}
}
if (found) {
tr[i].style.display = "";
found = false;
} else {
tr[i].style.display = "none";
}
}
}
</script>
<script type="text/javascript">
function SelectedTextValue(ele) {
if (ele.selectedIndex > 0) {
var selectedText = ele.options[ele.selectedIndex].innerHTML;
var selectedValue = ele.value;
document.getElementById("myInput").value = selectedText;
}
else {
document.getElementById("myInput").value = "";
}
}
</script>