23 lines
563 B
JavaScript
23 lines
563 B
JavaScript
function setVerifiers(groupdata)
|
|
{
|
|
var groupver=groupdata.split(ColDelim);
|
|
for(indx=0;indx<groupver.length-1;indx++)
|
|
{
|
|
var groupSel=groupver[indx].split(',')[0];
|
|
$("#groupopt"+groupSel).val(groupver[indx]);
|
|
}
|
|
}
|
|
function ValidateSubmitBelt(mode)
|
|
{
|
|
$("#isactive").val(mode);
|
|
var str="";
|
|
$("[id*=groupopt]").each(function(){
|
|
str+=$(this).val()+""+ColDelim;
|
|
});
|
|
$("#groupver").val(str);
|
|
validate(document.getElementById("beltname"),'t','SplInstruction');
|
|
if(checkForm())
|
|
{
|
|
SubmitForm('beltupdate','_parent','belt');
|
|
}
|
|
} |