How to send AJAX request in the WordPress

In this article we will talk about the AJAX technology, which allows developers to build dynamic web sites or applications. It's very popular and often used when making JavaScript code for the WordPress content management system. You may read the following information and see what are the benefits of this technology, why it makes sense …

How to redirect to another web page in JavaScript

This article contains information on how to redirect to another page in a programmatic way. This method has both advantages and disadvantages and we will discuses them in detail. Custom client side redirections are useful in situations when you make a web application and the active page must be changed due to some conditions. For …

How to select an element by name in jQuery

It's very easy to select element by name in jQuery, please take a look at the following HTML code snippet: There are input elements with the name attribute set to "first-name", "last-name", "email" values. This is a good example of a simple user registration form and is a very popular case in web development. Now, …

How to detect which radio button is selected

Hello, if you need to detect which radio element is selected, then this article may help. We will show how to get value of the selected radio button from the group of such elements in your HTML form. For the beginning, we will use jQuery framework since it's very popular and easy to use solution. …