Paginate Link generate additional #038; whenever my Url have multiple Query String

My generated paginate link results will have additional #038; in the url, may I know how to get rid of it? Blog page url : http://localhost/wordpress/blog/ I had already setup pagination with function paginate_links, when I press page [2] : Blog page Page 2 url : http://localhost/wordpress/blog/page/2/ ( everything is fine above ) However, whenever … Read more

When are you supposed to use escape instead of encodeURI / encodeURIComponent?

When encoding a query string to be sent to a web server – when do you use escape() and when do you use encodeURI() or encodeURIComponent(): Use escape: escape(“% +&=”); OR use encodeURI() / encodeURIComponent() encodeURI(“http://www.google.com?var1=value1&var2=value2”); encodeURIComponent(“var1=value1&var2=value2”); 1 15 escape() Don’t use it! escape() is defined in section B.2.1.2 escape and the introduction text of … Read more