01.
<script type=
"text/javascript"
>
02.
$(document).ready(
function
() {
03.
04.
$(
"#input"
).keyup(
function
() {
05.
var
id = $(
"#input"
).val();
06.
$.ajax({
07.
url:
"query.php"
,
08.
method:
"post"
,
09.
data:{data:id},
10.
success:
function
(data){
11.
$(
'#shows'
).html(data);
12.
}
13.
});
14.
15.
});
16.
17.
});
18.
</script>