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
May 15, 2012
Getting cell witdth and height from excel with Apache POI
April 11, 2012
Getting hex color from excel cell
Comments
Post a Comment