Skip to content
the poor coder

Home / Topics / #javascript

#javascript

2,247 posts · page 86 of 113
2023

xlsx date js

XLSX Date JS If you are working with XLSX files, you might need to manipulate dates in the file using JavaScript. Here are some ways to achieve that: Using Moment.js Moment.js is a popular library used for working with…

javascript2 min read
2023

javascript canvas touchmove

JavaScript Canvas touchmove: Understanding the Basics If you are a developer who wants to create a web-based application that supports touch input, you should learn about the "touchmove" event handler in JavaScript…

javascript2 min read
2023

isset js

What is isset js? If you are a developer or have ever worked with JavaScript, you might have come across the term "isset js". In simple terms, isset js is used to check whether a variable is defined or not in…

javascript2 min read
2023

price range slider bootstrap 4

Price Range Slider Bootstrap 4 If you are looking for a price range slider in Bootstrap 4, there are different ways to implement it. One of the most common solutions is to use the noUiSlider plugin, which is a…

javascript2 min read
2023

const and let keywords in ES6

Const and Let Keywords in ES6 ES6 or ECMAScript 6 is the sixth edition of the JavaScript language specification. In this version, two new keywords were introduced called "const" and "let". These keywords are used to…

javascript2 min read
2023

diacritic case insensitive regex

Diacritic case insensitive regex Regular expressions (regex) are a powerful tool for matching patterns in text. However, when working with text that contains diacritics (accented characters) or when matching text…

javascript2 min read
2023

Leaflet JS file

Leaflet JS file Leaflet is an open-source JavaScript library that is used for creating mobile-friendly interactive maps. It is a lightweight and easy-to-use library that allows developers to create dynamic, customizable…

javascript2 min read
2023

add class tr datatable

How to Add Class "tr datatable" in HTML Adding class "tr datatable" to an HTML element is a simple task. This class has a special purpose, it helps us to style tables in our web page. I will show you how to do it using…

javascript2 min read
2023

flatlist react native keyextractor

Flatlist React Native KeyExtractor If you are working on a React Native project and using a FlatList component, you may have come across the "keyExtractor" prop. This prop is used to give each item in the list a unique…

javascript2 min read
2023

prisma with nextjs

Prisma with Next.js If you are looking for a robust ORM (Object-Relational Mapping) tool to use with your Next.js application, Prisma is a great option. Prisma makes it easy to communicate with your database in a…

javascript2 min read
2023

angular 8 remove cookies

How to Remove Cookies in Angular 8 Removing cookies in Angular 8 can be done using the ngx-cookie-service package. Step 1: Install ngx-cookie-service Start by installing the package using npm: Step 2: Import…

javascript1 min read
2023

set multiple attributes css javascript

Set Multiple Attributes in CSS using JavaScript When it comes to styling web pages, CSS is undoubtedly the king. It allows you to control almost every aspect of the appearance of your website. However, sometimes you may…

javascript2 min read
2023

react-native-popup-menu

Introduction to react-native-popup-menu React Native is a popular framework for building mobile applications. It has a wide variety of libraries and components available that make building apps easier and faster. One…

javascript2 min read
2023

stop jboss from cli

How to stop JBoss from CLI If you are working with JBoss and need to stop it from the command line interface (CLI), there are a few ways to do so depending on your environment. Method 1: Using jboss-cli.sh script The…

javascript1 min read
2023

how to check element has an attribute js

How to Check if an Element has a JS Attribute As a web developer, there may be times when you need to check if an element has a specific attribute. One such attribute is the "js" attribute. This attribute is often used…

javascript1 min read
2023

Angular patchValue dynamically

Angular patchValue dynamically If you are working with Angular, you might have come across the need to dynamically patch values to your form fields. This can be done using the patchValue method of the FormGroup or…

javascript1 min read
2023

React components: Student data (student.js)

React Components: Student Data (student.js) In a typical React application, data is passed around as props between components. In this scenario, we'll be creating a Student component that will display a student's name…

javascript2 min read
2023

cheerio get href text

Cheerio get href text As a blogger, I often need to extract information from HTML pages to create content for my website. One common task is to get the text of a hyperlink, or anchor, element using Cheerio. Using…

javascript1 min read
2023

javascript loop through delimited string

JavaScript: Loop Through Delimited String As a developer, I have come across situations where I needed to loop through a delimited string in JavaScript. A delimited string is a string that uses a certain character to…

javascript2 min read
ESC