Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get a list of field name from object javascript

var person={"first_name":"Bill","last_name":"Jenner"}
//get the person object properties with:
var keys = Object.keys(person);
 
PREVIOUS NEXT
Tagged: #list #field #object #javascript
ADD COMMENT
Topic
Name
1+4 =