Bom dia pessoal!!!
Teria algum exemplo que me desse um norte nesta questão?? Pois já estou vendo vários tópicos sobre o assunto a muito tempo e nada me ajudou!!!
Tenho esse codigo que manipula em um Iframe um sistema em java e precisava colocar o F5 para fazer o papel de enter, pois no coletor de dados que tenho aqui é só assim que funciona.
Segue código que tenho:
<!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”>
<style>
iframe {
/* Set the width of the iframe the size you want to transform it FROM /
width: 640px;
height: 525px;
/ apply the transform /
-webkit-transform:scale(0.25);
-moz-transform:scale(0.25);
-o-transform:scale(0.25);
transform:scale(0.25);
/ position it, as if it was the original size */
position: absolute;
left: 100px;
top: -14px;
zoom:75%;
}
</style>
<head>
<script>
$(‘body’).keypress(function(e){
alert(e.which);
if(e.which == 116)
{
???
}
});
</script>
<iframe src =“Meu Site”/>
</head>
<body>
</body>
</html>
Como eu poderia incluir essa função para fazer o F5 manipular o <ENTER>???
Desde já obrigado!!!