Hi -

How do I retrieve the value of a URL encoded variable using only javascript?

example: www.dave.com?id=1

I want to get the 1 into a javascript variable...

Thanks,
Dave