change function name
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
placeholder="Search for packages.."
|
placeholder="Search for packages.."
|
||||||
class="form-control"
|
class="form-control"
|
||||||
id="table-sort-input"
|
id="table-sort-input"
|
||||||
onkeyup="myFunction()"
|
onkeyup="searchFilter()"
|
||||||
placeholder="Search for names.."
|
placeholder="Search for names.."
|
||||||
title="Type in a name"
|
title="Type in a name"
|
||||||
/>
|
/>
|
||||||
@@ -140,7 +140,7 @@
|
|||||||
src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/js/bootstrap.bundle.min.js"
|
src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/js/bootstrap.bundle.min.js"
|
||||||
></script>
|
></script>
|
||||||
<script>
|
<script>
|
||||||
function myFunction() {
|
function searchFilter() {
|
||||||
var input, filter, table, tr, td, i, txtValue
|
var input, filter, table, tr, td, i, txtValue
|
||||||
input = document.getElementById('table-sort-input')
|
input = document.getElementById('table-sort-input')
|
||||||
filter = input.value.toUpperCase()
|
filter = input.value.toUpperCase()
|
||||||
|
|||||||
Reference in New Issue
Block a user