0

I have tried several different ways, but it seems that it never sends the empty array value to the server

      _vars["myObject[array_list][]"] = null;
      _vars["myObject[array_list][]"] = [];

It only seems to work if I provide a value (which I am trying to avoid). What I would like for it to do is send the url param: myObject[array_list][]=& (i.e. an empty value)

Any ideas?

1 Answer 1

1

Try _vars["myObject[array_list][]"] = "";

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.