在jQuery智能向导上添加功能

时间:2018-07-10 10:32:44

标签: php jquery smart-wizard

我想将数据从multiselect(右侧)输入到数据库,我使用gentelella模板中的默认表单智能向导,以从multiselect I make函数获取数据:

DotProduct( v - c, p1 - c ) > dot
DotProduct( v - c, p2 - c ) > dot

}

how to solve it so that the data into the database

我添加了这个:

function selectAll(theSel) {
var selLength = theSel.length;
for(i=selLength-1; i>=0; i--) {
    theSel.options[i].selected = true;
}

并将代码onfinish更改为true:

<form class="form-horizontal form-label-left" action="<?=site_url('index.php/biodata/commit'); ?>" method="POST" onsubmit="selectAll(document.getElementById('region_id_assign')); selectAll(document.getElementById('region_out_id_assign')); return;">

};

如何解决它以便将数据导入数据库?

对不起,这次我是新手,请尝试使用智能向导

0 个答案:

没有答案