jquery search
#input_17_6 is text field id
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<script>
$( function() {
var qwe = <?php echo json_encode($explode_stripped); ?>;
$( "#input_17_6" ).autocomplete({
source: qwe
});
} );
</script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<script>
$( function() {
var qwe = <?php echo json_encode($explode_stripped); ?>;
$( "#input_17_6" ).autocomplete({
source: qwe
});
} );
</script>
Comments
Post a Comment