Php 带有codeigniter和facebox插件的querystring
我是词的初学者, 我使用facebox插件在CodeIgniter中加载页面[查询结果], ie从表中选择所有数据。 工作正常,, 问题是我只需要显示特定日期的数据,即来自用户输入的数据 我的代码是:Php 带有codeigniter和facebox插件的querystring,php,codeigniter,facebox,request.querystring,Php,Codeigniter,Facebox,Request.querystring,我是词的初学者, 我使用facebox插件在CodeIgniter中加载页面[查询结果], ie从表中选择所有数据。 工作正常,, 问题是我只需要显示特定日期的数据,即来自用户输入的数据 我的代码是: <script type="text/javascript"> jQuery(document).ready(function($) { $('a[rel*=facebox]').facebox({ loadingImage : '<?=bas
<script type="text/javascript">
jQuery(document).ready(function($) {
$('a[rel*=facebox]').facebox({
loadingImage : '<?=base_url();?>facebox/loading.gif',
closeImage : '<?=base_url();?>facebox/closelabel.gif'
})
})
</script>
...........
....
<a href="<?=base_url();?>admission/details" rel="facebox" >view details </a>
如果我将文本框添加到此页面,如何将值传递给该控制器?
无需更改facebox属性
<a id="fb1" href="<?=base_url();?>admission/details" rel="facebox" >view details </a>
<input type="text" onchange="updateFB('#fb1',this.value)">
<script>
function updateFB(el,val){
$(el).attr('href',"<?=base_url();?>admission/details/"+val);
}
</script>
//controller
function admission(){
$date = $this->uri->segment(3);
....