how to create variable name dynamically?
eg: if (test==1)
here test1 and test2 should create dynamically.
But throws error.
Have a look at the following jsFiddle on how to accomplish this.
thank you very much for your help.it worked.