Hola, tengo el siguiente código, donde debo escribir en un pequeño form usuario y contraseña, y que aparezca un toolbar.
Cuando pongo login y pass, aparece la alerta en la parte inferior izquierda "El objeto no acepta esta propiedad o metodo"
¿Que puede estar pasando?.se ejecuta en IE6
Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title></title>
<script type="text/javascript" language="javascript" src="js/jquery.js"></script>
<script type="text/javascript" language="javascript" src="js/eventos_llamada.js"></script>
<script type="text/javascript" language="javascript" src="js/line.js"></script>
<script type="text/javascript" language="javascript" src="js/linemanager.js"></script>
<script type="text/javascript" language="javascript" src="js/atributes.js"></script>
<script type="text/javascript" language="javascript" src="js/error_treatment.js"></script>
<script type="text/javascript" language="javascript" src="js/listener.js"></script>
<script type="text/javascript" language="javascript" src="js/requestmanager.js"></script>
<script type="text/javascript" language="javascript" src="js/gui.js"></script>
<script type="text/javascript" language="javascript" src="js/shell.js"></script>
<script type="text/javascript" language="javascript" src="js/configuration.js"></script>
<script>
$(document).ready(function() {
var getagent = $.getUrlVar("agent");
var getpassword = $.getUrlVar("password");
var getextension = $.getUrlVar("dn");
var showLogout = $.getUrlVar("logout");
var forceLogout = $.getUrlVar("force");
if (getagent != null && getagent != "" && getextension != null && getextension != "") {
doLogin(getagent, getpassword, getextension, forceLogout);
}
if (showLogout == "no") {
$(".logout_button").html('');
}
});
</script>
<link href="css/gui.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="div_logged">
<div class="fondo">
<div id="display">
<div style="display:table; width:100%; font-weight:bold; ">
<div id="agent_login" style="float:left;"></div>
<div id="agent_dn" style="float:right;"></div>
</div>
<div style="display:table; width:100%; ">
<div style="float:left">
<img src="images/notreadystatus.PNG" id="agent_status_icon" alt="agentstatus" align="bottom" />
<span style="font-family:Serif, Verdana;" id="agent_status_text">Preparado</span>
</div>
<div id="line_state" style="float:right">
</div>
</div>
<div><input type="text" id="target" /></div>
</div>
<div id="actions">
<div id="buttons">
<div id="agent_buttons">
<div class="state_button button_blue" onclick="ready(ThisDN)">
<div class="button_icon"><img src="images/button-icon-ready.png" alt="Ready icon" /></div>
<div class="button_text">Disponible</div>
</div>
<div class="state_button button_blue" onclick="notready(ThisDN)">
<div class="button_icon"><img src="images/button-icon-not-ready.png" alt="Not ready icon" /></div>
<div class="button_text">No disponible</div>
</div>
<div class="state_button button_blue" onclick="makecall(ThisDN,$('#target').val())">
<div class="button_icon"><img src="images/button-icon-call.gif" alt="Call icon" /></div>
<div class="button_text">Llamar</div>
</div>
</div>
<div id="line_buttons1" class="buttons_wrapper"></div>
<div id="line_buttons2" class="buttons_wrapper"></div>
<div class="logout_button"><a href="javascript:logout(ThisDN)" style="color:White;"> X </a></div>
</div>
<div id="lines_and_menu">
<div id="lines"></div>
<div id="transferMenuWrapper">
MENU IVR:
<select id="TransferenciaMenu" style="font-size:10px;">
<option value="Validacion1">Validación de primer nivel</option>
<option value="Validacion2">Validación de segundo nivel</option>
</select>
</div>
</div>
</div>
</div>
<div id="div_logged_agent_actions" style="float:none; display: none;">
<textarea id="historial" cols="50" rows="20" style="width:99%"> </textarea><br />
</div>
</div>
</body>
</html>