[英]how to search without press enter
如标题所示,我有一个文本框和一个表格。 每当我在文本框中输入任何字符时,我都希望更新表
我的文字方块:
<form action="registration/popup_find" method="get">
<div class="form-group">
<label class="sr-only" for="value">Search</label>
<input type="text" class="form-control" name="value" id="value" placeholder="Search..." value="<?php echo $this->input->get('value'); ?>">
</div></form>
我的桌子:
<table class="table table-hover">
<tr>
<th>No Registrasi</th>
<th>Tgl Registrasi</th>
<th>Nama Pasien</th>
<th>No Hospital</th>
<th>Actions</th>
</tr>
<?php
$index = 0;
foreach ($registration as $value) :
echo Modules::run("registration/registration_table", $value, $index);
$index++;
endforeach;
?>
</table>
怎么做??
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.