SHARE
TWEET

Untitled

a guest Jun 24th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $(document).on('ready',function (){        
  2.         alert("hola!");
  3.      $.post("scripts/json_p.asp?m=prv",
  4.         function(data) {
  5.           var $select = $("#prv_codigo");
  6.             $.each(data, function(id, name) {
  7.               $select.append('<option value=' + data.id + '>' + data.name + '</option>');
  8.              });
  9.          });
  10.      });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top