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
If you are working on a React function component, you may need to add an event to Click (or other events). Before start this article i will suggest you to read Event Handling in React Element. You usually do:
2 3 4 |
<button onClick={handleClick}>Delete</button> |
…
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?
JSX is a funny tag syntax. It is neither a string nor HTML. In this article, i am starting from the very basics and walk through everything you need to know about JSX. If you’ve ever wanted to learn React…
Expand +How to connect a MySQL database with Node.js
MySQL is one of the most common open source databases in the world, and is also effective. Approximately every popular application language, like Java or PHP, provides a driver to access and run operation with MySQL. Node.js and MySQL are…
Expand +How to Send Emails With Node.js
Send Emails With Node.js. In this article, I will discuss sending e-mail with Node.js. I’ve covered Express.js tutorials and I will also use NodeMailer in this article. For the verification, password recovery and promotion of account, many forums and blogs asked…
Expand +How to Combine Multiple Images or PDF Files into a Single PDF File Using ImageMagick
In this article, You will learn about how to create a single pdf file in Codeigniter from a separate set of images or pdf files using ImageMagick . PDF is the most used format to combine multiple images document or…
Expand +How to Create Pagination with Node.js, MongoDB, Express and EJS Step by Step
In this article, I’ll show you how to create pagination with node js , MongoDB, Express.js, EJS, and Bootstrap. We will generate a new database, define data collection, fill this collection with information and display contents to the page using…
Expand +