How to Check domain, URL or link does not has http or https and end with slash

Check a link start with HTTP or HTTPS How to check a link not start with http:// or https:// below code helps to add and find link does has it or not. if(pageUrl.indexOf(“http://”) == 0 || pageUrl.indexOf(“https://”) == 0 ){ pageUrl = pageUrl; }else{ pageUrl = “http://” + pageUrl; } add a slash and check […]

JavaScript Operator and &&, or || define with logical condition

JavaScript Operator && (AND), ||(OR). They perform some operations on single or multiple values and provide results. and like that double pipes represent the logical OR operator. Logical AND Operator Double ampersand to represent the logical AND operator true && true; // true true && false; // false false && true; // false false && […]

Create Minutes and Second Clock with HTML and JQuery with automatically time update

create a clock with minute and second for the countdown timer. Clock countdown can create by the plugins but I show you the below code for creating the same.   HTML <div class=”watchCallIconTiming”><span id=”minTimmer”>19</span> : <span id=”secTimmer”>17</span></div> jQuery   <script type=”text/javascript” src=””></script> <script type=”text/javascript”> var i = 00; var m = 11 ; setInterval(function(){ i++; […]

React Tutorial : Create Article DIV, Heading, Sub Heading & Paragraph

<!doctype html> <html> <head> <title>Page Title</title> <meta charset=”UTF-8″> <meta name=”viewport” content=”initial-scale=1.0″> </head> <script crossorigin src=”[email protected]/umd/react.development.js”></script> <script crossorigin src=”[email protected]/umd/react-dom.development.js”></script> <body> <div id=”root”></div> <script type=”text/javascript”> const articleHeading = React.createElement(‘h2’, null, ‘My First Blog Post’); const paragraph = React.createElement(‘p’, {className : ‘text’}, ‘This is Paragraph Text Contnet Here of MyFreeOnlineTools’); const article = React.createElement(‘article’, null, articleHeading, paragraph ); […]

JavaScript Spread Operator

JavaScript Spread Operator   const array =[1,2,3,4]; const arrayTwo = […array, 4]; console.log(arrayTwo); const person = { name:’Brad’, age:36 } const newPerson = { …person, email: ‘[email protected]’ } console.log(newPerson); You can also use filter and stroe values in new array const arrayThree = […array.filter(num => num !== 2)]; console.log(arrayThree);   Rajvinder SinghLive in Delhi, Working […]

Get selected uploaded file name in input file by jQuery without fake path

Uploaded file value comes with a fake path, how to get filename without a fake path. In this code, how to get filename without full path, only use the file name which is upload in the input file.  In other words, get an image or file temp name by jquery when user upload file in input […]

How to disbale anchor tag by using JavaScript.

Learn how to disable <a> tag when using link of any text, button or etc. You can do this by using simple inline or function javascript and onclick return false in javascript anchor tag will not work and disable properly. Its do the page not refresh and anchor tag not work.   <a href=”#” oncilck=”return […]

How to add Text, Link and Mention or Hashtags on Twitter Share Post Link

With this PHP code, without using any Online API you add link mention or hashtags on your twitter share post. This is code for add text, link and tag on twitter post<?php echo get_the_title(); echo ‘ @ageIndia’?>&url=<?php echo get_permalink( get_the_ID());? Rajvinder SinghLive in Delhi, Working in Gurgaon as Web Designer and Graphic Designer. Developed […]

What is Conversion Rate Optimization, CRO Strategies, Use of CRO and Some Important Facts.

What is Conversion Rate Optimization, CRO Strategies, Use of CRO and Some Important Facts? Conversion Rate Optimization (CRO) is the exercise of increasing sales and prospective leads from any website. CRO is the method of creating an experience of a website or landing page with the goal of increasing the percentage of visitors that convert into […]