SHARE
TWEET

Untitled

a guest Jun 26th, 2019 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function SetFields()
  2. {
  3.       var FArray = new Array(FieldSet.length);
  4.       for (var i = 0; i < FieldSet.length; i++)
  5.       {
  6.             FArray[i] = { ID = FieldSet[i].ID, Value = document.getElementById(FieldSet[i].ID).value };
  7.       }
  8.       alert(FArray.length);
  9. }
  10.  
  11. var FieldSet;
  12.      
  13. let myObj = {id: 1, value: 2}
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top