Wuu Posted August 1, 2014 Report Share Posted August 1, 2014 Strādā { "measurement_value_adj_lenght": [ { "key": $('#measurement_offset_length_key_1').val() } ] } Nestrādā, bet gribētos lai tomēr strādā :D (SyntaxError: missing : after property id) { "measurement_value_adj_lenght": [ { $('#measurement_offset_length_val_1').val(): $('#measurement_offset_length_key_1').val() } ] } Quote Link to comment Share on other sites More sharing options...
0 briedis Posted August 1, 2014 Report Share Posted August 1, 2014 Dari tā: obj[$('#measurement_offset_length_val_1').val()] = $('#measurement_offset_length_key_1').val(); Quote Link to comment Share on other sites More sharing options...
0 Wuu Posted August 1, 2014 Author Report Share Posted August 1, 2014 Der! Quote Link to comment Share on other sites More sharing options...
Question
Wuu
Strādā
Nestrādā, bet gribētos lai tomēr strādā :D (SyntaxError: missing : after property id)
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.