Input Field in Dropdown

In your bootstrap-dropdown.js comment source code row $(‘html’).on(‘click.dropdown.data-api’, clearMenus) and write there this: $(document).bind(‘click’, function(e) { var $clicked = $(e.target); if (!$clicked.hasClass(“dropdown-menu”) && !$clicked.parents().hasClass(“dropdown-menu”)){ clearMenus(); } }); Or, you can add the following to your jQuery script $(‘.dropdown-menu’).find(‘form’).click(function (e) { e.stopPropagation(); });

Continue reading


Jquery clock ticking.

function updateClock() { var currentTime = new Date(); var currentHours = currentTime.getHours(); var currentMinutes = currentTime.getMinutes(); var currentSeconds = currentTime.getSeconds(); // Pad the minutes and seconds with leading zeros, if required currentMinutes = (currentMinutes < 10 ? "0" : "") + currentMinutes; currentSeconds = (currentSeconds < 10 ? "0" : "") + currentSeconds; var currentHour […]

Continue reading


Reference websites for developing kiosk web applications

Reference websites for learning about kiosk application development with HTML5, css, Twitter bootstrap, jquery, backbonejs. http://www.sitepoint.com/tips-developing-kiosk-web-applications/ http://www.sitepoint.com/google-chrome-kiosk-mode/ http://www.sitepoint.com/gumby2-backbone-bootstrap/ https://github.com/sdeering/gumby2-backbone-bootstrap http://www.sitepoint.com/touch-swipe-function-debounce-script/ Codepen demo for HammerJs http://codepen.io/jtangelder/pen/lgELw http://www.sitepoint.com/web-app-image-preloading-setup-2mins/ https://github.com/CreateJS/PreloadJS Bootply demo http://www.bootply.com/116789

Continue reading


How to create jQuery datatables grid with ASP.NET MVC

http://www.codeproject.com/Articles/155422/jQuery-DataTables-and-ASP-NET-MVC-Integration-Part http://www.codeproject.com/KB/aspnet/MVC-CRUD-DataTable.aspx http://www.codeproject.com/KB/aspnet/Parent-Child-DataTables.aspx http://www.codeproject.com/KB/aspnet/Expandabe-DataTable-MVC.aspx http://www.codeproject.com/Articles/331855/jQuery-DataTables-Advanced-Filtering-in-ASP-NET-MV http://www.codeproject.com/Articles/331986/Table-Row-Drag-and-Drop-in-ASP-NET-MVC-JQuery-Data http://www.codeproject.com/Articles/scripting/JQuery-DataTables.aspx

Continue reading