Rushi Javiya has Published 167 Articles

How to use input readonly attribute in jQuery?

Rushi Javiya

Rushi Javiya

Updated on 07-Mar-2023 11:45:12

15K+ Views

The readonly is an HTML attribute that we can add to any HTML tag. Whenever we use the readonly attribute with any HTML element, it becomes non-editable. Users can’t write into the text field but can only read. In this tutorial, we will learn to add the readonly attribute to ... Read More

How to use Grid Component in Material UI?

Rushi Javiya

Rushi Javiya

Updated on 07-Mar-2023 11:41:14

939 Views

The grid means the structure of rows and columns like a table. When we create a table using the HTML tag, we can create every row and column of different dimensions, but the Grid component of the Material Ui library allows us to do so. We can use ... Read More

How to use Fab Component in Material UI?

Rushi Javiya

Rushi Javiya

Updated on 07-Mar-2023 11:34:32

745 Views

The fab component is a short form of the floating action button. You may have seen the floating action button in many Android applications at the bottom right corner. However, it's not fixed that you need to add the floating action button at the bottom right corner, but it is ... Read More

How to trigger the setInterval loop immediately using JavaScript?

Rushi Javiya

Rushi Javiya

Updated on 07-Mar-2023 11:16:20

5K+ Views

The setInteral() method allows us to continuously trigger a callback function after every particular time period. We can pass the callback function as the first parameter to trigger after every time period, and the time period in the milliseconds as a second parameter. The setInterval() method invokes the callback function ... Read More

How to trigger the onchange event on input type=range while dragging in Firefox?

Rushi Javiya

Rushi Javiya

Updated on 07-Mar-2023 11:14:21

11K+ Views

The range input allows a selection of any value between the particular range of values. Using JavaScript, we can get the input value that users have entered in the range input. The onchage event triggers only when the user releases the mouse key. So, it will not update the value ... Read More

How to trigger the HTML button after hitting enter button in the textbox using JavaScript?

Rushi Javiya

Rushi Javiya

Updated on 07-Mar-2023 11:11:05

5K+ Views

Generally, developers add the submit button to submit the input field's text. However, if they allow users to submit the input value by pressing enter, it improves the UX of the application. Here, we will learn the general way to detect the key press using the key listener event. Afterwards, ... Read More

How to splice an array without mutating the original Array?

Rushi Javiya

Rushi Javiya

Updated on 07-Mar-2023 11:05:02

4K+ Views

In JavaScript, we can use the splice() method to splice an array. The splice() method inserts or deletes single or multiple elements from the array. We can pass the starting index as the first parameter of the splice() method, from which we can insert or delete the elements. It takes ... Read More

How to Create Horizontal and Vertical Tabs using JavaScript?

Rushi Javiya

Rushi Javiya

Updated on 07-Mar-2023 11:01:08

1K+ Views

We can create tabs using HTML, CSS & JavaScript. There can be two types of tabs. One is horizontal tabs, and another is vertical tabs. The tabs allow us to show different contents in very less space as we can show the different content according to the different tabs. We ... Read More

How to create Hamburger Menu for mobile devices?

Rushi Javiya

Rushi Javiya

Updated on 07-Mar-2023 10:55:12

1K+ Views

The hamburger menu icon has three vertical bars, which the navbar uses to expand and collapse the menu on mobile and tablet devices. This tutorial will teach us to create a hamburger menu from scratch. Here, we will use HTML, CSS, JavaScript, and Bootstrap to create a stylish hamburger menu ... Read More

How to create dynamic breadcrumbs using JavaScript?

Rushi Javiya

Rushi Javiya

Updated on 01-Mar-2023 10:51:47

4K+ Views

The breadcrumbs help website users to understand the navigation path, and windows file explorer is the best example that provides the breadcrumbs. When you open a file explorer, you can see the current location in the file explorer at the top bar. Also, if you click on any location, it ... Read More

Advertisements