Live Character Count Using JavaScript

6th Mar 2018 by Vikash Kumar Singh

In this tutorial, we are going to see how to count character live using JavaScript. In previous tutorial we have discussed about how to live preview using jquery. Getting string length using .length property. Length property return length of a string. The innerHTML property is used to set the HTML content of an element.

[Read more...]

How to Align Facebook Like, Twitter Tweet and Google +1 buttons

4th Mar 2018 by Vikash Kumar Singh

Social like and follow button in a website have very much importance for drive more traffic and visitors. When you use facebook like button, twitter tweet button and google+ 1 button then, by default it is not aligned. In this tutorial, i will show you how to align Facebook like, Twitter tweet  and google+1 button to display.

[Read more...]

Ajax Contact Form Using jQuery and PHP

3rd Mar 2018 by Vikash Kumar Singh

In this tutorial, we are going to see how to create ajax contact form using jquery php. We create simple HTML form and write some css to style it. Jquery and ajax is used to send request  to server side and get response. This is a simple example of contact form which you can add to your site. Adding a contact form will help visitors to contact website admin by submitting information without reloading a web page.

[Read more...]

JavaScript Validation Using Sample Form

3rd Mar 2018 by Vikash Kumar Singh

Validating a form using client side JavaScript is a used to validate user input fields of form. It is implemented to prevent leaving blank input fields or enter invalid characters in input box . In html 5 , validating input fields become easy due some updation. In input box when we use “required ” attribute ,then a user can left it empty. For email input box just....

[Read more...]

How to Force Download a File With PHP

2nd Mar 2018 by Vikash Kumar Singh

In this tutorial, we are going to see how to force download a file using PHP. Generally we don't need to add any PHP script to download any type file. Using an anchor tag with download attribute and file source allows to download file easily.

[Read more...]