0

How to remove parameters in URL using JavaScript

JavaScript (“JS” for short) is a full-fledged dynamic programming language that, when applied to an HTML document, can provide dynamic interactivity on websites. 

In this tutorial we will show you How to remove parameters in URL using JavaScript. JavaScript  code snippet to remove the dynamic variables stored in the url as parameters, and check them as JavaScript variables ready for use with your scripts.

How remove parameters URL using JavaScript

 

Usage

 

And this is how you can use this function assuming the URL is,

http://dummy.com/?technology=jquery&blog=jquerybyexample

http://dummy.com/?blog=jquerybyexample

 

Prakash S

Prakash S

I would like to introduce myself as a Software professional opting for the career in software industry. I'm Prakash S, a MCA graduate and trained as industry level practice for Software technology. Basically I am a PHP Developer but now days exploring more in HTML5, CSS, AngularJS and jQuery libraries.