This tutorial I’ll explain a simple step-by-step way to implement an Custom Alert Boxes using Jquery Demo with cool sliding and fully customized alert box, error message, delete message, info mesage using Jquery and CSS. The result is something like this:
Category Archives: JavaScript – Ajax
Equal Height Columns with jQuery
Creating equal-height columns with CSS is sometimes a bear. But who needs the hassle of faux columns, “clear” divs and the rest? With this bit of jQuery, you can easily equalize the heights of any group of elements.
6 fast jQuery Tips
Force a Page Reload This will forcefully reload the current page. No jQuery needed here.
How to Refresh/Reload a Page using jQuery
I have seen this question asked in many forums, however the solution presented worked on selected browsers only. Here’s a solution I have tested that works on IE7, FireFox 3 and Chrome. Hopefully it should work on other browser versions as well!
Ctrl+Enter Submit Any Form
Script Summary: Ctrl+Enter submit any form Ctrl+Shift+Enter submit any form in new tab/window
Submit forms when CTRL+Enter is pressed in a textarea using jQuery
This is how we add that functionality to our websites using jQuery: $(‘textarea’).keypress(function(e){ if (e.ctrlKey && e.keyCode == 13) { $(this).closest(‘form’).submit(); } }); [ad code=4]