Category: Web Development
Jquery | DataTables warning: table id – Cannot reinitialise DataTable
If you try to set properties of Jquery datatable 2 times as below, it will give an error: table = $(‘#product-data-table’).DataTable({stateSave: true}) ; table = $(‘#product-data-table’).DataTable ({“aoColumns”: [ { “bSortable”: false },null,null,null ] }); “DataTables warning: table id=product-data-table – Cannot
Data Sanitization using PHP
Understanding PHP data sanitization with an example In PHP data sanitization is a process in which we remove unwanted content from the strings to make them safe to use in HTML code. For example if user types Javascript code in
SequenceMatcher in Python and Calling Python Script in PHP
Introduction to SequenceMatcher in Python and Calling Python Script in PHP SequenceMatcher is a class in Python which compares pairs of sequences of any type.SequenceMatcher is a class which comes under the difflib module. It provides classes and functions for
Multiple ng-app directives in a single page in AngularJS
How can we put multiple ng-app directives in a single page in AngularJS What is ng-app directive? The “ng-app” directive designates the root-element of the AngularJS application or we can say it initializes an angularJS application, usually placed near the
Using Bootstrap Tabs with Examples
Bootstrap tabs – How to create with Examples In Bootstrap, tabs can be created with “nav-tabs” class. for example <ul class="nav nav-tabs"> <li>….. <li>….. <li>….. </ul> User can also set the other properties of the li elements. User can set
Various Array helper methods in Javascript
Explanation of various Array helper methods in Javascript with example The various methods I am going to discuss below are a part of functional programming in Javascript. In functional programming output of the method depends on the arguments passed to
Understanding Nlog .Net Package with Examples
Record Logs with Nlog .Net Package – Explanation and Examples Nlog is a free .Net platform based framework designed for generating logs to record the history of events that help to troubleshoot errors and exceptions. Logging is one of the
What is new in Bootstrap 4
Introduction to Bootstrap 4 and what is new in it Bootstrap 4 final stable version was released on January 18th, 2018. There are lots of new changes in this version. 1) FlexBox Support:- Earlier Bootstrap’s layout was powered by float-based
Using Node.js for Uploading Files
Upload Files using Node.js When we build any web application, we often need to upload some files via our application. For uploading files using Node.js, we use “Formidable” module. You can download this module or install it using npm. Command
