How To Get Selected Text and Value of DropDownList Using JavaScript and jQuery

In this tutorial,we will learn how to get selected text and value of dropdown list by onchange event using jQuery and JavaScript. When user select dropdown text , then text and value is retrieved with jquery onchange event. A simple function is created to get dropdown text and value using JavaScript. So. let us see … Read more

Switch Grid and List View Using jQuery

In this tutorial we are going to see how to switch Grid and List view using jquery. This example will help you to understand easily how to create grid/list view in html using jquery. This concept is generally used in e-commerce website where you can see product in Grid and list view both by single … Read more

Show and Hide Password Field with jQuery and JavaScript

In this tutorial, we will see how to show and hide password field with jQuery and JavaScript. This tutorial demonstrates the functionality of how to toggle password input field visibility. You have seen in many sites, password visibility option means you can see password while you are writing.  This example will help you to understand … Read more

Top 40+ PHP Interview Questions And Answers For Freshers

This is set of questions which is generally asked PHP interview question and answer for freshers. Important PHP Interview Questions with answers. These questions are frequently asked in interview by IT Companies. Get the top PHP interview questions here. You can read important PHP Interview Questions and answer. Q. Who is father of PHP ? Rasmus Lerdorf Q. What is … Read more

Live Character Count Using JavaScript

Live Character Count Using JavaScript

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.  Live Demo  [sociallocker] Download[/sociallocker] JavaScript code <script> … Read more