daily pastebin goal
3%
SHARE
TWEET

Untitled

a guest May 17th, 2018 106 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var ele = document.getElementById('ddlStateView');
  2.     for (var i = 0; i < getJSONValue.STATE.length; i++) {
  3.         // POPULATE SELECT ELEMENT WITH JSON.
  4.         ele.innerHTML = ele.innerHTML +
  5.             '<option value="' + STATE[i]['ID'] + '">' + STATE[i]['STATE_NAME'] + '</option>';
  6.     }
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