Skip to content
the poor coder

Home / Topics / #javascript

#javascript

2,247 posts · page 56 of 113
2023

jquery select2 how to make dont close after select

jQuery Select2: How to Make It Not Close After Select If you are using jQuery Select2 in your project, you might have come across a situation where you want the dropdown to stay open after the user selects an option. By…

javascript1 min read
2023

JavaScript Sorting Arrays

JavaScript Sorting Arrays Sorting arrays in JavaScript is a commonly used task. It involves arranging the elements of an array in a particular order, either in ascending or descending order. There are several ways to…

javascript2 min read
2023

openssl_pkey_get_private javascript

How to Use openssl_pkey_get_private in JavaScript If you are a web developer who needs to perform secure data transfers in your web applications, you may be familiar with OpenSSL, a powerful open-source toolkit for…

javascript2 min read
2023

how to start angular project

How to Start an Angular Project? Starting an Angular project can be intimidating at first, but once you get the hang of it, it becomes quite simple. There are different ways to start an Angular project, and we will…

javascript2 min read
2023

Loop nested object using for..in loop

Loop nested object using for..in loop Looping through a nested object can be tricky if you don't know how to handle it. Here's one method to loop through a nested object using a for..in loop. Method 1: Using nested…

javascript2 min read
2023

how to fetch data redux

How to Fetch Data in Redux Fetching data in Redux is a crucial concept when building web applications. In order to fetch data, the Redux state management library provides us with a few methods such as redux-thunk and…

javascript3 min read
2023

telerik jquery grid trigger editcell

Telerik jQuery Grid Trigger EditCell As a front-end developer, I have worked with Telerik's jQuery Grid plugin on multiple occasions. One common use case is to trigger the editing of a cell programmatically. In this…

javascript1 min read
2023

new date javascript

New Date JavaScript If you're building a website or web application that requires the current date or time, JavaScript has you covered with the Date object. This object provides various methods for working with dates…

javascript1 min read
2023

if text exists in element using javascript

If text exists in element using JavaScript As a web developer, I often come across situations where I need to check if a certain text exists in a particular HTML element. Fortunately, JavaScript provides us with various…

javascript2 min read
2023

how do you make your script work on one window

How to Make Your Script Work on One Window As a web developer, I have encountered situations where I want my script to work on one window only. It can be frustrating when the script opens multiple windows, causing…

javascript2 min read
2023

html export to excel javascript

Hello readers, Today I want to share my experience with exporting HTML to Excel using JavaScript. It was a challenging task that I had to deal with while working on my previous project. To begin with, there are a few…

javascript2 min read
2023

js difference between two arrays of objects

JavaScript: Differences Between Two Arrays of Objects If you have two arrays of objects in JavaScript and want to find the differences between them, you can use the built-in filter() method to compare the arrays and…

javascript3 min read
2023

call a function when page is loaded

Calling a Function When Page is Loaded in HTML If you want to execute a particular function when a web page is loaded, there are several ways to do it in HTML. Here are some of them: Method 1: Using the onload Attribute…

javascript2 min read
2023

send refresh token in axios interceptor

How to Send Refresh Token in Axios Interceptor? If you are building a web application that requires user authentication, chances are you are using JWT (JSON Web Token) to verify the user's identity. JWTs have an…

javascript2 min read
2023

crud operation react js

Crud Operation React JS When building a web application, it's essential to have the ability to perform CRUD operations on your data. CRUD stands for Create, Read, Update, and Delete. ReactJS is a popular JavaScript…

javascript2 min read
2023

find difference between string js

Find Difference Between String JS String is a data type in JavaScript that represents a sequence of characters. In JavaScript, there are two ways to create a string: using single quotes (') or double quotes ("). When…

javascript2 min read
2023

how to find number in string js

How to Find Numbers in a String in JS As a web developer, I often come across a situation where I need to extract numbers from a given string. In JavaScript, we can easily achieve this using regular expressions. Method…

javascript2 min read
2023

phaser place on ellipse

Phaser Place on Ellipse If you are trying to place your Phaser game object on an elliptical path, then you may want to consider using the following formula: Explanation: centerX and centerY represent the center of your…

javascript1 min read
2023

then

How do you create a dropdown menu in HTML? Dropdown menus are a common feature in websites and can help to organize and display information in a user-friendly way. Here are two ways to create a dropdown menu in HTML…

javascript2 min read
ESC