In an ajaxified form I can use:
Drupal.ajax[ajax_el].options.data._my_vars = JSON.stringify(js_object);
But how can I accomplish it in a non ajax form? Is there another possibility than using a hidden field? It might be possible to pass it to a field with
#access => FALSE?
I would welcome every advice. Many thanks!