Extend with key as variable
Hi,
I've this function to add key in a data with k="Toto"
$Root = $("#" + n); $Root.data("TFO", $.extend({ k: v }, $Root.data("TFO")));
But When I see $Root.data("TFO") I've k instead of the value in k
How Can I do it?
If debugging is the art of removing bugs ... then program is the art of creating