0

This is my expression which I am using

window.open(someURL?filename="+filename+"&drid="+drid,"_self","");

I need to send the data using the post method and not the query string.

Please help me out.

fdomn-m
28.8k8 gold badges39 silver badges70 bronze badges
asked Jun 15, 2021 at 15:20
3
  • 1
    window.open uses a GET request, not a POST Commented Jun 15, 2021 at 15:33
  • Maybe one of these will help you: stackoverflow.com/search?q=window.open+POST Commented Jun 15, 2021 at 15:34
  • 1
    This answer suggests: POST form with target="_blank" (but will go to a new tab these days, not an antiquated popup window) Commented Jun 15, 2021 at 15:35

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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.