Thursday, August 16, 2018

Get url parameter jquery Or How to Get Query String Values In js

Answer


I have seen lots of jQuery examples where parameter size and name are unknown. My url is only going to ever have 1 string:



http://example.com?sent=yes


I just want to detect:





  1. Does sent exist?

  2. Is it equal to "yes"?

No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...