Load more items using jquery.HTML:Load more itemsScript://Load more items using jquery var itemsCount = 0; var itemsMax = 30; //var itemsMax = $("#totalcount").val(); $('.product-section .it… Read More
Issue:Show one popover at a time and hide other popovers.Fix:Html:onetwoScript:$('.triggerpopover').webuiPopover();$('.triggerpopover').on('click', function (e) { $('.triggerpopover').not(t… Read More
Custom scroll using Jquery plugin.Embed CSS: https://cdnjs.cloudflare.com/ajax/libs/malihu-custom-scrollbar-plugin/3.1.3/jquery.mCustomScrollbar.cssEmbed JS:http://ajax.googleapis.com/a… Read More
Adding class to parent element when radio button is selected using jquery var $radiobtn = $('.form-second-sec input:radio');$radiobtn.change(function () { $radios.parent().removeClass('a… Read More
We are hiding default form element using CSS. The "for" attribute specifies which form element is bound to the label. So label will act as an input element. "Id" name of the form element an… Read More
We are hiding default form element using CSS. The "for" attribute specifies which form element is bound to the label. So label will act as an input element. "Id" name of the form element an… Read More
HTML:<div draggable = "false"> <!-- ondragover event: Specifies where the dragged data can be dropped --> <!-- ondrop event: When the dragged data is dropped, a… Read More
Before going to runtime approach using modernizr, we will see some browser profiling approach.Browser profiling approach:1. caniuse.com2. html5test.comNote: These sites are useful to know th… Read More
Adding active class dynamically to open accordion panel item.Script:$('.accordion-panel .panel-heading').removeClass("actives");//Accordian color change and proper toggle $('.accordion… Read More
Change background color of accordion odd & even row using Jquery.Script$(function(){ $('.panel-group > .panel-default:even').addClass('even'); $('… Read More
Change background color of accordion odd & even row using Jquery.Script$(function(){ $('.panel-group > .panel-default:even').addClass('even'); $('… Read More
Simple form validation using Jquery.Embed the below js files:http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery… Read More
/* Mozilla based browsers */::-moz-selection {background-color: #FF68B0;color: #000;}/* Works in Safari */::selection {background-color: #FF68B0;color: #FFF;}/* Works in Opera */::-o-selecti… Read More
"https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js""//ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.min.js""//cdnjs.cloudflare.com/ajax/libs/angular-ui-router/0.2.10… Read More
"https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js""//ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.min.js""//cdnjs.cloudflare.com/ajax/libs/angular-ui-router/0.2.10… Read More
Jquery change background color of table row when selecting a checkbox.Jquery:$(function() { $('td:first-child input').change(function() {  &hell…Read More
Custom Scrollbar using Jquery Plugin.Script:Embed the below JS files:http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.jshttps://cdnjs.cloudflare.com/ajax/libs/malihu-custom-scro… Read More
Scenario:when scroll down change the header position to fixedJavascript:function init() { window.addEventListener('scroll', function(e) { var distance… Read More
Container with position: fixed property will be collapse when keypad is opened in Ipad.Below Javascript code is used for solution.$("input,textarea").focus(function () { if (isiP… Read More
Issue: Initially slide is start automatically. But When we click navigation, slider is not sliding automatically.Fix:Remove “el.stopAuto();” from clickNextBind & clickPrevBin… Read More