Athos
Monday, February 14, 2005
 
One more Javascript trick
var a={xml:contextXml.xml,menuId:reqMenuId};

Yeah that's it, looks weird huh, the result is "a" will be an Object, while

a[xml]=contextXml;
a[menuId]=reqMenuId;

-- learnt this from my.msn.com code
Comments: Post a Comment

<< Home

Powered by Blogger