Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include("Includes/FusionCharts.php");
- ?>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <META Http-Equiv="Cache-Control" Content="no-store">
- <META Http-Equiv="Pragma" Content="no-cache">
- <META Http-Equiv="Expires" Content="-1">
- <link rel="shortcut icon" href="../usr/favicon.ico" />
- <title>INFO_CLIENTES</title>
- <link rel="stylesheet" type="text/css" href="css/tableStyle.css">
- <script LANGUAGE="Javascript" SRC="js/FusionCharts.js"></script>
- <script type="text/javascript" src="js/jquery-1.8.3.js"></script>
- <script>
- function realizaProceso(valorDocumento){
- var parametros = {
- "valorDocumento" : valorDocumento
- };
- if ($.browser.msie && parseInt($.browser.version, 10) === 7) {
- } else {
- }
- $.ajax({
- data: parametros + "&r=" + Math.random(),
- cache: false,
- url: 'proceso.php',
- type: 'post',
- dataType : 'text',
- beforeSend: function () {
- $("#resultado").html("Procesando, espere por favor...");
- },
- success: function (response) {
- $("#resultado").html(response);
- }
- });
- }
- function mostrardiv(divName){
- div = document.getElementById(divName);
- div.style.display = '';
- }
- function cerrar(divName) {
- div = document.getElementById(divName);
- div.style.display='none';
- }
- </script>
- <style type="text/css">
- <!--
- body {
- font-family: Arial, Helvetica, sans-serif;
- font-size: 12px;
- }
- -->
- </style>
- </head>
- <body>
- Introduce Documento
- <input type="text" name="documento" id="documento" value="0"/>
- Consultar
- <input type="button" href="javascript:;" onclick="realizaProceso($('#documento').val());return false;" value="Consultar"/>
- <br/>
- Resultado: <span id="resultado">0</span>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement