The export functionality to the document on the server is extremely useful for converting HTML content to MS word document and download it as a.docx file. The MS word document can be quickly generated with HTML content via PHP. Converting…
Expand +Category: Web Development
Passing Arguments to Event Handlers
Delete But what if you’re going to have to pass a parameter? Say you have a list of ids, and you want to remove one by clicking on the “Delete” next to it. You can’t do: Delete Because the expression…
Expand +Handling Events – React
What is Event? Events are the activities to which javaScript can respond. For example: Clicking an element Submitting a form Scrolling page Hovering an element Handling Events: The handling of React events is very similar to the handling of DOM…
Expand +State in React Component
State is similar to props, but it is private and fully controlled by the component. We can create state only in class components. It is possible to update the state/Modify the state. In this article, we will discuss about State…
Expand +Props in ReactJS
React allows us to send information to a Component using something named props. Props are basically a kind of global variable or object. In this post, we will read about this in more detail. When React sees an element representing…
Expand +What is JSX in React?
Introduction of JSX JSX stands for javascript XML. It is a syntax extension to Javascript. JSX is a preprocessor step that adds XML syntax to Javascript. JSX produces React “element”. It is possible to create elements without JSX but JSX…
Expand +How to connect a MySQL database with Node.js
In this tutorial, I will explain the Node.js and MySQL related points. If you’re new to Node and Express then you’re not going to regret taking our Node course. Learn Node js , Express js, and MongoDB Complete Course Here’s how to use MySQL…
Expand +How to Send Emails With Node.js
Nodemailer is a Node.js module for easy to send e-mail like cake. The project started in 2010, when it wasn’t possible to send E-mails, today it’s the default solution for the majority of Node.js users. Step -1: You need to…
Expand +How to Combine Multiple Images or PDF Files into a Single PDF File Using ImageMagick
Step 1: Download Fresh Latest Version of Codeigniter Step 2: Add Controller Method
Expand +How to Create Pagination with Node.js, MongoDB, Express and EJS Step by Step
. ├── routes | └── index.js ├── models | └── add_password.js ├── views ├── add-new-password.ejs | └── view-all-password.ejs Open models/add_password.js file and copy and paste the following code to create schema and mongoose connection: const mongoose = require(‘mongoose’); mongoose.connect(‘mongodb://localhost:27017/pms’, {useNewUrlParser: true, useCreateIndex:…
Expand +