Disable right click using jquery

To disable right click menu using jquery, the following code snippet can be used [javascript] $(document).ready(function(){ $(document).bind(“contextmenu”,function(e){ return false; }); }); [/javascript] Be sure to include Jquery before you write this code 🙂 Demo can be found here Vivek

Browser detection using Jquery

Hi It is very easy to detect the browser using jquery. This code snipt will give you the browser. [javascript] var browser = GetBrowser(); alert(browser) ; }) function GetBrowser() { $.browser.chrome = /chrome/.test(navigator.userAgent.toLowerCase()); if($.browser.chrome) return “chrome”; if($.browser.mozilla) return “mozilla”; if($.browser.opera) return “opera”; if($.browser.safari) return “safari”; if($.browser.msie) return “ie”; } [/javascript] Demo can be found here…Continue reading Browser detection using Jquery

How to blink text using Javascript/Jquery

Ever wondered how to blink a text using javascript ? Well, here is the simple way to do using Jquery [javascript] This will blink [/javascript] To blink fast, you can change the speed of the FadeIn and FadeOut function. Demo : http://www.whmphp.com/trial.php Be sure to include jquery in your code 🙂


jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript. How many of you have started using JQuery in your projects ? Well, its not too late. Start using jQuery now!