Advertisement
badlogic

embeding html into javascript

Mar 14th, 2017
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //embeding html into javascript
  2.  
  3. document.getElementById("e1").innerHTML +=
  4.                         "<option value="
  5.                         +data.ccc_id
  6.                         +">"
  7.                         +data.subjname_shortname
  8.                         +" - "
  9.                         +data.subjname_name
  10.                         +" </option>";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement