Skip to main content
Search
Search This Blog
codeForEveryone.js
Java, tomcat, Jasper, Extjs, Geoext, OpenLayers, Apex blog
Share
Get link
Facebook
X
Pinterest
Email
Other Apps
Labels
Javascript
February 22, 2012
example how to create dynamic javascript object :]
Check out the below lines, sure it will help;
x=new Object();
propertyName="nameProperty";
propertyValue="John";
eval("x."+propertyName+"='"+propertyValue+"'");
Comments
Popular Posts
January 22, 2013
Aspose Cell vs Apache POI
May 15, 2012
Getting cell witdth and height from excel with Apache POI
Comments
Post a Comment