blob: 2e74c9a008b4942bc82e3e02aa8942f1699e8e5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
// *************************************************************************************************************************************************
// Libreria de scripts de Javascript
// Nombre del fichero: EliminarImagenCache.js
// Descripci�n :
// Este fichero implementa las funciones javascript del fichero IniciarSesion.php (Comandos)
// *************************************************************************************************************************************************
function confirmar(){
if (comprobar_datos()){
// Compone atributos del comando
tb_conf=document.getElementById("tabla_conf");
var ochecks=tb_conf.getElementsByTagName('INPUT');
var atributos;
for(var i=0;i<ochecks.length;i++){
if(ochecks[i].checked){
atributos=ochecks[i].value
}
}
var RC='@';
document.fdatosejecucion.atributos.value="scp="+atributos+RC;
document.fdatosejecucion.submit();
}
}
//________________________________________________________________________________________________________
function cancelar()
{
alert(CTbMsg[0]);
location.href="../nada.php"
}
//________________________________________________________________________________________________________
function comprobar_datos()
{
tb_conf=document.getElementById("tabla_conf");
var ochecks=tb_conf.getElementsByTagName('INPUT');
var op=0;
for(var i=0;i<ochecks.length;i++){
if(ochecks[i].checked) op++;
}
if(op==0){
alert(TbMsg[1]);
return(false);
}
return(comprobar_datosejecucion())
}
|