just a wild guess but have you tried this.str?
 
> Date: Mon, 9 Mar 2009 22:15:27 -0700
> Subject: [jQuery] How can I use VAR str into json object
> From: gordiany...@gmail.com
> To: jquery-en@googlegroups.com
> 
> 
> var str = "hello";
> var json = {
> str: "123"
> }
> 
> I know this is not jquery question , but I don't know where I should
> go
> The question is how can I use VAR str into json object, I don't want
> {"str": 123}, actually i want {"hello": 123}
> How can solve this problem? In fact this question troubling me a long
> time
> Thank you for the answer, any input will help

_________________________________________________________________
 25GB of FREE Online Storage – Find out more
http://clk.atdmt.com/UKM/go/134665320/direct/01/

Reply via email to