Busca en cnbGuatemala con Google
11 bytes añadidos
, hace 7 años
Línea 10: |
Línea 10: |
| $(".crawfordfield").val('Procesando. Ten paciencia....'); | | $(".crawfordfield").val('Procesando. Ten paciencia....'); |
| var crawfordfieldA = new XMLHttpRequest; | | var crawfordfieldA = new XMLHttpRequest; |
− | c.onreadystatechange = function() { | + | crawfordfieldA.onreadystatechange = function() { |
| 4 == crawfordfieldA.readyState && 200 == crawfordfieldA.status && ($(".crawfordfield").val(crawfordfieldA.responseText)) | | 4 == crawfordfieldA.readyState && 200 == crawfordfieldA.status && ($(".crawfordfield").val(crawfordfieldA.responseText)) |
| }; | | }; |
Línea 17: |
Línea 17: |
| crawfordfieldB.append("fieldParameter", "crawfordfield"); | | crawfordfieldB.append("fieldParameter", "crawfordfield"); |
| crawfordfieldA.open("POST", "/cgi/fieldPost.py"); | | crawfordfieldA.open("POST", "/cgi/fieldPost.py"); |
− | crawfordfieldA.send(crawfordfieldB) | + | crawfordfieldA.send(crawfordfieldB); |
− |
| |
| | | |
| | | |