1

how I can get parameters from my script url? I found examples where was parameters from website url but it's not what i really looking for. I'm running one script from another and I send request like /script.js?name=example and I don't have idea how I can get access to name in script.js.

Greetings.

7
  • See this article Commented Apr 18, 2017 at 21:48
  • it'll work for example.com/?name=example but i sending parameter to script name (example.com/script.js?name=example). But I was trying, returned false ;) Commented Apr 18, 2017 at 21:54
  • Script has no access to it. Commented Apr 18, 2017 at 21:54
  • I guess you are not using Node, right? Commented Apr 18, 2017 at 21:55
  • pure javascript and symfony Commented Apr 18, 2017 at 21:56

0

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.