JavaScript

Autocompelete with Twitter Typehead.js

Twitter Typehead.js atuocomplete is a feature which is used to complete search keywords in search bar. It can be integrated with on site search, used  to provide suggestion related to a search term. It is very important for on site search because of the following reasons. 1: To reduce the spelling mistakes Autocompeletion is very helpfull to reduce the spelling…

Continue Reading

JavaScript

jQuery useful validation functions

Here i will share some useful jQuery validation properties and functions with you, like counting the length of an element, allowing alphanumeric and numbers only values to an input element. 1- Count length of an input box value ? $(id).val().length jQuery length property is use to calculate the total element in the jQuery object. Example function checklength(id){ var no=$(id).val.length; alert(no);…

Continue Reading