Important Javascript Methods

concat() copyWithin() every() fill() filter() find() findIndex() forEach() indexOf() isArray() join() lastIndexOf() map() pop() push() reduce() reduceRight() slice() some() reverse() shift() sort() splice() toString() valueOf() unshift()

Read More

How to make zipaligned and signed apk in cordova

1) To run the app for test in browser is cordova run browser 2) To run the app for test in real device is cordova build android 3) in the

Read More

Email validation

<html> <head> <title>Email validation </title> <script src=”https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.2.1.min.js”></script> </head> <body> HTML 5 validation <form name=”html5valid” method=”post” action=”#”> <input type=”email” name=”email”/> <input type=”submit” name=”submit”/> </form> Pure Javascript and jquery onclick validation</br> <input

Read More

Pure Javascript date month year

Pure Javascript date month year   <!DOCTYPE html> <html> <body> <script> function formatDate(date) { var monthNames = [ “January”, “February”, “March”, “April”, “May”, “June”, “July”, “August”, “September”, “October”, “November”, “December”

Read More

ajaxurl in frontend wordpress

admin ajaxurl form front end <script type=”text/javascript”> var ajaxurl = “<?php echo admin_url(‘admin-ajax.php’); ?>”; </script>

Read More

MySql Db export or database backup in php

We can export database using phpMyAdmin directly by just clicking the export button, after selecting the database.The following example showing how to export using php.

Read More

what is wordpress multisite

WordPress has a special built-in feature, multisite. Do you know what is multisite or what wordpress multiste refers to. ok lets explain In wordpress you can create multiple websites using the same

Read More

Make dynamic sitemap in codeigniter

How to make dynamic sitemap in codeigniter We need sitemap for our website to tell the search engines about the content that we have on our website and how often

Read More

Object-Oriented programming in javascript

Object-Oriented programming Object-Oriented programming is a programming paradigm  based on concept of a objects, that uses abstraction to create model based on real world. It is a model organized around

Read More

Useful linux command

linux command ls linux Command ls command display list of files. #ls Whoami linux Command whoami command print the name of current user. # whoami Who Command who command simply

Read More