Jump to content
Fórum Script Brasil
  • 0

F5 se comportar como enter


luiz.carvalho
 Share

Question

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'>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml'>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!!!

Editado

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Forum Statistics

    • Total Topics
      149.8k
    • Total Posts
      646.6k
×
×
  • Create New...