Guest User

Untitled

a guest
Dec 15th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. $.ajax({
  2. data: {},
  3. url: 'http://bioredsky.epizy.com/conexion.php',
  4. type: 'post',
  5. beforeSend: function () {
  6. $("#status").html("Procesando, espere por favor...");
  7. },
  8. success: function (response) {
  9. arreglo = $.parseJSON(response);
  10. }
  11. });
  12.  
  13. var con=0;
  14. while(con<=arreglo.length-1){
  15. area[con]= arreglo[con];
  16. alert("El area es: " + area[con]);
  17. con++;
  18.  
  19. sigla[con]= arreglo[con];
  20. alert("La sigla es: " +sigla[con]);
  21. con++;
  22. }
  23.  
  24. $.ajax({
  25. data: {},
  26. url: 'http://bioredsky.epizy.com/conexion.php',
  27. type: 'post',
  28. beforeSend: function () {
  29. $("#status").html("Procesando, espere por favor...");
  30. },
  31. success: function (response) {
  32. arreglo = $.parseJSON(response);
  33. }
  34. });
  35.  
  36. var con=0;
  37. while(con<=arreglo.length-1){
  38. area[con]= arreglo[con];
  39. alert("El area es: " + area[con]);
  40. con++;
  41.  
  42. sigla[con]= arreglo[con];
  43. alert("La sigla es: " +sigla[con]);
  44. con++;
  45. }
Add Comment
Please, Sign In to add comment