jQuery: How to Strip/Remove HTML tags

In this short post, find jQuery code to strip/remove HTML tags. To remove HTML tags, use text() function which returns only the text content and ignores the HTML portion. console.log($('#dvTest').text()); You can also strip/remove HTML tags from any variable as well as text() is jQuery function, so the variable needs to be converted into a […]
Read the rest of this entry »

Latest jQuery Plugins released in June 2013

Today we bring a list of latest jQuery plugins released in June 2013. These plugins are fresh, interesting, simple and lightweight. You may find them useful for your next project!!! Related Post: 50+ Most Popular and Useful jQuery Plugins from 2012b> Cool jQuery Plugins released in May 2013 Cool jQuery Plugins of March 2013 SMINT […]
Read the rest of this entry »

Use protocol less URL for referencing jQuery

Learnt something new today and thought of sharing. Most of us, include the reference of jQuery library (if Google CDN is used) like this, http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js As you can see it is using HTTP protocol. The advantage of Google CDN files are cached up to one year which means that your users may not need to […]
Read the rest of this entry »

Ignored powerful shortcuts of jQuery

Many developers ignore shortcuts and power of jQuery and I myself being a victim of some of the useful, handy but yet ignored shortcuts of jQuery. These are not some advance or complex shortcuts but I guess these are used a lot. Consider, below jQuery code lines. $("#elm").css("display", "none"); //Line 1 $("#elm").css("display", ""); //Line 2 […]
Read the rest of this entry »

Remove Weekends From jQuery UI Datepicker

In this post, find jQuery code to remove weekends rather than disabling them from jQuery UI Datepicker. This is quite useful when you don't want to allow users to select weekends. To disable weekends, all you need to do is to override ".ui-datepicker-week-end" css class and set display to none. .ui-datepicker-week-end { display:none } Live […]
Read the rest of this entry »

jQuery to redirect page after specific time interval

You must have come across any website which uses a webpage with some annoying advertisement and a message that says "You will be redirected to actual page after X seconds". This can be easily implemented with jQuery. In this post, find jQuery code to redirect user to another webpage after specific time interval or few […]
Read the rest of this entry »

Responsive Menu
Add more content here...