How to Remove HTML Tags from String using JavaScript

How to Remove HTML Tags from String using JavaScript

Sometimes we get data from the server which contains HTML elements such as div span or internal CSS. We can either remove or parse those tags using backend language or we can achieve the same with javascript replace() function. Using Regex in javascript we can remove any HLMT tag from the string. following is the code to remove the HMLT tags from string. var str = "<div>Hello, <h2>atcodex</h2></div>"; var textData...
How to enable and disable website Cache or Varnish on cPanel

How to enable and disable website Cache or Varnish on cPanel

Enable Varnish on cPanel. Varnish is a caching technology. It's an internet accelerator and likewise referred to as an HTTP accelerator or reverse HTTP proxy, which is able to considerably improve the efficiency of your website. Varnish cache is really quick thereby, velocity up the supply relying on your structure. It should improve your web site’s efficiency. Varnish shops a duplicate of the web page which is served by the online server the primary time a person visits the web site. Subsequent time, when the person requests for a similar web page, varnish will serve the copy as an alternative of serving it from the online server. Thus, your webserver must deal with solely fewer site visitors and thereby improve the web site efficiency and likewise scale back the server load....
How to import CSV file into PHPMyAdmin

How to import CSV file into PHPMyAdmin

Sometimes we need to upload bulk data in the database, so we use .csv file to import or upload in MySQL table using phpMyAdmin. It is quite easy to upload the data into MySQL, just follow the steps below. Login to your cPanel and go to phpMyAdmin. CSV file with no column name Select the database from the left side of the panel and then table.Click on the Import tab.Click...
How to unpublish the android app from google play store

How to unpublish the android app from google play store

You can not delete the app from google play store but you can unpublished it. After unpublishing you can again republish it later on when required. Following are the steps to unpublished app on the Google play store: Login into https://market.android.com/publish/Home.Select the application you want to delete from google play store.Click on the "Store Presence" menu in the left corner, and then click the “Pricing and Distribution” item.Click Unpublish.Submit Update.
How to open the numeric keyboard in mobile and validate the length

How to open the numeric keyboard in mobile and validate the length

Before you submit the data to the server, it required some validation to ensure the inputs are correct. In HTML 5 client-side validation becomes so easy to use and most of us use them in their project frequently. Client-side validation is a kind of check to improve the user experience to let them know what data need to be filed there. However, client-side validation is not sufficient to ensure data...
How to enable or disable the hidden (.htaccess) files in cPanel

How to enable or disable the hidden (.htaccess) files in cPanel

cPanel is one of the most popular control panels. It has many features that make it a very powerful easy to use tool for the developer. It allows the developer to organize the website very easily without jumping into complex Linux coding. Normally all web hosting companies provide cPanel on their hosting package. Many users ask us how they can see the .htaccess files for their websites in cPanel File...
How to get free Secure Sockets Layer (SSL) certificate for website

How to get free Secure Sockets Layer (SSL) certificate for website

Did you know people trust more on the website having an SSL certificate installed? It means if you are not using SSL, you will lose customer faith. SSL is a data transmission encryption method with protects data transfer between user's browser and the website server.Normally when we start blog or website we always try to keep our server costs as low as possible. Paid SSL are quite expensive, and in starting...
How to change title and description in WordPress homepage

How to change title and description in WordPress homepage

WordPress is a open source content management system(CMS). There are many websites around the world using Wordpress platform. As we know that Wordpress platform is very user friendly and there are many plugins available for each and every task. Although we can change title and description using plugins but here i would let you know how you can achieve with this simple steps. 1 - Login to your Wordpress site...