2 Simple Steps to Create Top Navigation Bar

In this tutorial we are going to see how to create top navigation bar. Navigation bar is the most important part of any website or blog. So here we are going to use the 2 simple steps to create navigation bar with HTML and CSS. 1. Write Markup <div class=”nav”> <ul> <li class=”home”><a href=”#”>Home</a></li> <li … Read more

INSERT SELECT UPDATE AND DELETE WITH PDO

CRUD is most important thing in any programming language. After reading Programming basics ,we move to CRUD(create,read, update, delete). When we use MySQL database ,it is recommended to use PDO to secure web application from SQL injection. How to use mysqli_connect in PHP How to Setup MySQL Connection Using PDO in PHP In this tutorial, … Read more

jQuery Validation for File Input Type

jQuery Validation for File Input Type

When we use input type file in HTML form, then we must validate it before form submitted. Client side validation can be easily done using jQuery or JavaScript. In this tutorial, we will see how to validate input type file with jQuery. HTML <div class=”form-group”> <input type=”file” class=”form-control” id=”idaddproof3″ name=”idaddproof” accept=”image/*” required=”required”> <span class=”errorMSG” id=”msgaadhaarfile”></span> … Read more

Amount Field Validation Using JavaScript

When we work on any financial web application,we must use input field for amount value. Amount is very important field in any form so it must be validate before submit. This tutorial will help you  to understand how to validate amount field using JavaScript. HTML <input type=”text” name=”amount” id=”field” onfocusout=”checkAmount();”> JavaScript <script> function checkAmount() { … Read more