ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,254 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi.
I am trying to do a javascript change location bookmarklet - if condition to replace with another URL
javascript:if(location.host=='abc')(location.href='http://cde'+location.pathname+'\?test\=enable');
The code works fine, but the last ' comes as %27 . How to correct this ?
Thanks