You can retrieve any query string value based on parameter name from the url of current page. Following JavaScript function returns the value for given parameter name. These are raw JavaScript codes, so you don’t need to use jQuery. Continue reading
Category Archives: JavaScript and jQuery
How To Add or Remove a Class Using Raw JavaScript and jQuery
If you want to dynamically set or remove a CSS class name for a HTML element, then you need to do some javaScript works. We can do this by using raw javaScript. jQuery is also a popular javaScript library. You can use jQuery also. Here I am showing you the both way to add/remove class. Continue reading
