jquery - How Can I get todays date from a URL query string -


i trying add query string url survey tool may provide today's date in hidden field in survey.

i unable add code html section of survey hoping use on lines of;

www.thisismysurvey.com?todaysdate=**

this first foray coding , query strings , first question on stack overflow please gentle me if i've overlooked obvious.

cheers,

you can query string using javascript

var params = window.location.search.substring(1); 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -