Category: JQUERY

Jquery webcam plugin

Here i am explaining the integration of your webcam with jquery plugin. Article originally inspired by xarg.org.Simply create an index.php and put all below...

how to filter a multilevel menu with a search input

Filter a multilevel menu with a search input Mostly you can use select2 js for drop down which are basically use html select  tag, but sometime we need same functionality on ul -li...

php pass session to new window

Whenever we open new window with jQuery or JavaScript often it will clear all old session. For example you have a dashboard screen after user login and here have a link to open new...

Jquery run code after .each() loop

If we have list of item or array of response and running .each() to parse them. After finishing loop we want to execute some code or any other function then we can use simple loop...

How to add extra data with ajax serialize form

In normal Ajax post we send form in serialize way, but suppose you want to send some extra value to you php page then you can do as below. data: $('#youForm).serialize() +...

jquery autocomplete highlight match

Highlight jQuery Autocomplete results that match the text already typed I am assuming that you already implemented jQuery Autocomplete . Now you want to just highlight the part of...

JavaScript function to disable text selection on browser

Sometime you need to prevent you text from simple copy paste. For it you can disable text selection on your browser. By this article i am just giving an example to handle browser...

JavaScript function to disable right click on browser

with a simple JavaScript function you can disable right click on you browsers. You have to do two main things browser detection mouse event detection for it you can use below...

JavaScript function to add and remove value from select box

Sometime we need a simple JavaScript function to add and remove few values from select box. For example if you have a list of language and want to add only known language then you...

jquery validation with error container

This based on standard jquery validate plugin. If you want to display all error in one container on your html page Create a Html form and a error container div. For example <div...