Mohit Panchasara

Mohit Panchasara

67 Articles Published

Articles by Mohit Panchasara

Page 7 of 7

How to place two input box next to each other using Bootstrap 4?

Mohit Panchasara
Mohit Panchasara
Updated on 26-Jul-2023 984 Views

Bootstrap is a popular frontend framework containing pre-styled components and allowing developers to use that directly in the application. The ‘4’ is the version of the Bootstrap. Bootstrap also contains pre-styled input components. Furthermore, it has different kinds of the input components, such as input groups, single input, etc. While creating a form, if we require to add 10s of inputs in the form, we can put some input fields side by side, such as first name and last name we can put side by side. In this tutorial, we will use Bootstrap to place two input boxes next to ...

Read More

How to perform jQuery Callback after submitting the form?

Mohit Panchasara
Mohit Panchasara
Updated on 26-Jul-2023 3K+ Views

Nowadays, every website contains at least a single form, such as a contact form, application form, etc. It is also required to notify users when the form is submitted successfully or with errors so that users can take action again. In JQuery, we can use the submit() method to call the callback function after submitting the form. However, we can also save form data to the database in the callback functions. So, there can be many use cases where we must call the callback function after submitting the form to perform the particular operations. Syntax Users can follow the syntax ...

Read More

How to send button value to PHP backend via POST using ajax?

Mohit Panchasara
Mohit Panchasara
Updated on 10-Mar-2023 3K+ Views

AJAX (Asynchronous JavaScript and XML) makes web pages more responsive, interactive, and dynamic by enabling server communication without requiring a page to load. JavaScript is used to send and receive data from a server using various technologies, including XML, JSON, and HTML. In these, JSON is the most popular. AJAX is frequently used to transmit information from a web page to a server-side script, like a PHP script. The XMLHttpRequest object, included in most contemporary web browsers, can be used for this. You can establish a connection to a given URL, send data to that URL, and then wait ...

Read More

How to use Container Component in ReactJS?

Mohit Panchasara
Mohit Panchasara
Updated on 09-Mar-2023 3K+ Views

The container component creates a container on the web page like a box. Also, we can set the height of the container according to the height of the inside content. Furthermore, we can set the variable width for the Container component. Basically, we can use the Container to create a Rectangular box and add some HTML content inside that. Users should use the below command to install the Material UI in the React project. npm install @mui/material @emotion/react @emotion/styled Syntax Users can follow the syntax below to use the Cotnainer component of Material UI. ...

Read More

How to use Checkboxes in ReactJS?

Mohit Panchasara
Mohit Panchasara
Updated on 09-Mar-2023 27K+ Views

The checkbox allows users to select multiple values in the form. Also, it is useful to take the Boolean response from the users. For example, an Instagram-like button is a kind of checkbox. When users like the post, it shows the filled icon; Otherwise, it shows the border icon. Here, we will learn to handle single and multiple checkboxes in ReactJS. First, we will create the custom checkboxes and then learn to use the checkbox component of Material UI. Create a Custom Checkbox Component in ReactJS We can use the normal HTML input to create a checkbox in ...

Read More

How to create Price Range Selector in ReactJS?

Mohit Panchasara
Mohit Panchasara
Updated on 16-Feb-2023 6K+ Views

The price range selector allows us to select two values representing the range. Sometimes, we require to create a range slider to allow users to select a range. For example, we can allow users to select a minimum and maximum price using the price range selector. We can also show the products by filtering based on the selected minimum and maximum prices. In this tutorial, we will learn to create a price range selector using various libraries in ReactJS. Using the material UI to create a range selector The material UI provides various components we can import into the ...

Read More

How to create a Password Checklist in ReactJS?

Mohit Panchasara
Mohit Panchasara
Updated on 16-Feb-2023 7K+ Views

Nowadays, applications use a one-time password or magic link for authentication, but we can’t ignore the authentication using the username and password. Whenever we allow users to register with a username and password, we should ensure that the password users have entered is strong. So, it can be unbreakable by hackers. In this tutorial, we will learn to verify the security level of the password in ReactJS. Create a Custom Validation Algorithm We can create a custom validation algorithm to check if the password is strong or weak. We can create regular expressions for lowercase, uppercase, and numeric ...

Read More
Showing 61–67 of 67 articles
« Prev 1 3 4 5 6 7 Next »
Advertisements