Skip to content
the poor coder

Home / Topics / #javascript

#javascript

2,247 posts · page 53 of 113
2023

sequelize order multiple

Sequelize Order Multiple If you want to order data in a specific way using Sequelize, you can use the order option. The order option takes an array of arrays or objects where the first element is the column name and the…

javascript1 min read
2023

add element in the middle of array javascript

Adding Element in the Middle of Array in Javascript There may be times when you need to add an element in the middle of an array in Javascript. Here are a few ways to do so: Using the splice() Method The splice() method…

javascript2 min read
2023

swiper custom button react

Swiper Custom Button React When it comes to creating a custom button for Swiper in React, there are a few things that need to be taken into consideration. Swiper is a popular and powerful mobile touch slider library…

javascript1 min read
2023

js format string 2 digits

JS Format String 2 Digits If you are working with JavaScript, you may have come across the need to format numbers in a certain way. One of the common formatting needs is to display a number with two digits. For…

javascript2 min read
2023

js select and copy on click

How to select and copy text on click using JavaScript I recently had a requirement to enable users to select and copy text on click of a button. After researching, I found a few ways to achieve this using JavaScript…

javascript1 min read
2023

javascript doxygen

Understanding Javascript Doxygen As a web developer, I have come across Javascript Doxygen while working on various projects. In simple terms, Javascript Doxygen is a tool that helps in generating documentation for a…

javascript2 min read
2023

localdatetime json

What is Localdatetime Json? Localdatetime Json is a way to represent date and time information in JSON format using the LocalDateTime class of the Java programming language. LocalDateTime is a class that represents a…

javascript1 min read
2023

MAC addresses in JavaScript

MAC Addresses in JavaScript MAC (Media Access Control) address is a unique identifier assigned to a network interface controller (NIC) for use as a network address in communications within a network segment. In…

javascript2 min read
2023

React native tab bar interaction

React Native Tab Bar Interaction React Native is a framework that allows developers to build cross-platform mobile applications using JavaScript and React. One of the most important components in any mobile application…

javascript2 min read
2023

js search in object

Searching for Values in JavaScript Objects If you're working with JavaScript objects, you may need to search for specific values within them. Luckily, there are several ways to accomplish this. Method 1: Using a…

javascript2 min read
2023

jquery find by innertext

jQuery Find by InnerText As a web developer, I have often come across the need to find elements by their inner text using jQuery. It can be helpful in situations where we need to manipulate or extract data from the HTML…

javascript2 min read
2023

javascript onkeyup multiple classes

JavaScript onKeyUp Multiple Classes If you are looking to use JavaScript onKeyUp event on multiple classes, there are multiple ways to do it. Here are some ways to achieve it: Option 1: Loop through all elements You can…

javascript1 min read
2023

display toastr success

How to Display Toastr Success in HTML Introduction If you are a web developer, you might have come across the need to display a notification or alert message to your users. One popular library that can help you to…

javascript2 min read
2023

marketo landing page locked content

Marketo Landing Page Locked Content If you're using Marketo to collect leads, chances are that you're using landing pages to do so. But sometimes, you may want to offer some exclusive content to your users in exchange…

javascript2 min read
2023

vue slot events

Vue Slot Events If you are working with Vue.js and want to pass events to child components through slots, you can use Vue Slot Events. Slot Events are a way to pass events from a parent component to a child component…

javascript2 min read
2023

vue js connecting css

How to Connect CSS to Vue.js If you are working on a Vue.js project, you might want to connect CSS to it in order to style the HTML elements. There are a few different ways to do this: 1. Inline Style The simplest way…

javascript2 min read
ESC