How do I append a query string such as ?a=0
on document ready? It must first check if there is an existing query string. It should only append the query string if there isn't one there already. Otherwise, it should do nothing.
Take the 2-minute tour
×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
|
|||||||||||||||||||||
|
|
|||||
|
|
|||||||||
|
Try this:
|
|||
|