| javascript Programming Glossary: thetopUsing a variable for a Javascript object key http://stackoverflow.com/questions/2274242/using-a-variable-for-a-javascript-object-key  something .stop .animate 'top' 10 10 but this doesn't var thetop 'top' something .stop .animate thetop 10 10 To make it even.. but this doesn't var thetop 'top' something .stop .animate thetop 10 10 To make it even clearer At the moment I'm not able to..  javascript variables   share improve this question   thetop 10 is a valid object literal. The code will create an object.. 
 |