Skip to main content

How to Refresh or Reload Page using JavaScript

In this tutorial, you will learn how to refresh or reload page using JavaScript.

Sometimes we need to refresh or reload page of a website to load data. As the page refresh or reload is related to client side programming, so we can easily do this using JavaScript. There are methods in JavaScript such as location.reload(), location.href, history.go(0) in JavaScript to load page as per our requirement. We can set timeout or interval to load or refresh page on every given time.

(more…)

Live Datatables CRUD with Ajax, PHP & MySQL

Datatables is a jQuery plguin which is used to display tables data in interactive and user friendly way. The Datatables are very feature rich as it allows searching, sorting and live data update features.

So if you’re thinking about implementing jQuery Datatables with CRUD operation with Ajax and PHP, then you’re here right place. In our previous tutorial you have learned how to create advance contact form with Ajax and PHP.In this tutorial you will learn how to implement live Datatables with CRUD operations with Ajax, PHP and MySQL.

We will cover this tutorial in easy steps to create live example of Datatables CRUD operations with dynamic data.

(more…)

Image Crop and Upload using jQuery and PHP

Image upload and Crop is an important feature of web applications to allow users to crop the image to desired size before upload. This feature is generally implemented in user’s section to manage user profile to upload user avatar or profile photo after image crop to fit correctly to display in user profile. The functionality can be implement any where with image upload in web applications

As in our previous tutorial you have learned how to upload images with jQuery, PHP and MySQL. In this tutorial you will learn how to crop image before upload using jQuery and PHP.

We will use Croppie jQuery plugin that enables to crop the image with zoom.

We will cover this tutorial step by step with live demp to browse ithe mage and display to crop with zoom feature and upload after image crop.

crop image and upload with php and jquery

(more…)

User Authentication and Authorization with Node.js

In our previous tutorial, we have explained about Chat Application with Node.js, Express & MongoDB. In this tutorial, you will learn how to implement user authentication and Authorization in Node.js.

Authentication and authorization is an important part of any web applications. There can be many routes in a application that provides resources to users. If the authentication and authorization is not handled properly then sensitive information can compromised. So it is very important to provide proper user authentication to provide access to the different resources.

So if you’re developing application with Node.js and wants to implement authentication and authorization, then you’re here at the right place.

(more…)

Load Dynamic TinyMCE Editor with Ajax, PHP & MySQL

In our previous tutorial, we have explained how to implement TinyMCE Upload Image with Ajax and PHP. In this tutorial, you will learn how to Load Dynamic TinyMCE Editor with Ajax, PHP & MySQL.

TinyMCE is a popular WYSIWYG Editor to use for getting input to save to the database. It is used in web applications to add and edit HTML contents. The new contents added with fixed editor but there TinyMCE editor needs to be loaded and removed dynamically to edit the content from different records.

So if you’re looking for solutions to load and remove TinyMCE editor dynamically to save contents, then you’re here at the right place. In this tutorial you will learn how to dynamically load and remove TinyMCE editor to edit save contents from different records with Ajax, PHP and MySQL.

(more…)