Jquery chamada para o Bean
Pessoal, fiz um pequeno exemplo (codigo abaixo), e gostaria de chamar meu Bean , dentro do Jquery é possivel ?
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>TODO supply a title</title>
<script type="text/javascript" src="http://erp.hospitalonline.com.br/js/jquery/jquery-1.7.1.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
var codes = "0";
$(document).keypress(function(e){
console.log(e.charCode);
codes = codes + ',' + e.charCode;
$("#codes").html(codes);
$("#string").append(String.fromCharCode(e.charCode));
});
});
</script>
</head>
<body>
<div>PASSE O CARTAO NO LEITOR !</div>
<div id="codes"></div>
<div id="string"></div>
</body>
</html>
Evandro Abreu
Curtidas 0
Respostas
Davi Costa
28/02/2013
Vai usar html puro o algum framework, poderia usar ajax se for só com html puro
att Davi
att Davi
GOSTEI 0
Evandro Abreu
28/02/2013
poderia passar algum exemplo usando ajax ??
GOSTEI 0
Evandro Abreu
28/02/2013
poderia passar algum exemplo usando ajax ??
GOSTEI 0