This time I will bring you the linkage effect between the input box and the drop-down box, and what are theprecautions to achieve the linkage effect between the input box and the drop-down box. The following is a practical case, let's take a look.
As shown in the picture:
##html code
奖励类型:
public function add_alms() { $reward = $this->materials->selReward(); $this->assign('reward',$reward); return $this->fetch(); } public function do_add_alms() { $data = Request::instance()->param(); $this->alms->addAlms($data); }
Recommended reading:
How to achieve dynamic acquisition of Jquery drop-down box data Ajax and Jquery are combined with the database to implement it Secondary linkage of drop-down box jQuery implements recursive infinite layer function jquery obtains the value and text of the select tagThe above is the detailed content of Realize the linkage effect between input box and drop-down box. For more information, please follow other related articles on the PHP Chinese website!