28 lines
805 B
JavaScript
28 lines
805 B
JavaScript
function hideRows(elval)
|
|
{
|
|
$('.class0,.class1').show();
|
|
$('.class'+elval).hide();
|
|
}
|
|
function showVerifierInfo(verid)
|
|
{
|
|
QueryStr="vid="+verid+"&suuid="+$("#suuid").val();
|
|
MatrixFrameDialog.open("verifierinfo?"+QueryStr, "Verifier Details", {width: "520px", height: "430px"});
|
|
}
|
|
function ValidateSubmitVerifier()
|
|
{
|
|
validate(document.getElementById("vcode"),'t','AlphaNumeric');
|
|
validate(document.getElementById("vname"),'t','AlphaSpace');
|
|
validate(document.getElementById("mobileno"),'t','MobileNo');
|
|
validate(document.getElementById("vtype"),'t','');
|
|
validate(document.getElementById("mlimit"),'t','');
|
|
validate(document.getElementById("isactive"),'t','');
|
|
if(checkForm())
|
|
{
|
|
SubmitForm('verifierupdate','_parent','verifier');
|
|
}
|
|
else
|
|
{
|
|
return false;
|
|
}
|
|
}
|