background preloader

JS

Facebook Twitter

Sockety

Web components. ORM. Scroll. Frameworki/CMS. Komentarze. Tabelki. Notify. Bajery. Wykresy. Formularze. Gridy. Selecty. Paginacja. Optymalizacja. Google Maps. File upload. JQueryMy two way data binding. jQuery BlockUI Plugin. The jQuery BlockUI Plugin lets you simulate synchronous behavior when using AJAX, without locking the browser[1]. When activated, it will prevent user activity with the page (or part of the page) until it is deactivated. BlockUI adds elements to the DOM to give it both the appearance and behavior of blocking user interaction. Usage is very simple; to block user activity for the page: $.blockUI(); Blocking with a custom message: Blocking with custom style: To unblock the page: $.unblockUI(); If you want to use the default settings and have the UI blocked for all ajax requests, it's as easy as this: $(document).ajaxStart($.blockUI).ajaxStop($.unblockUI); This page demonstrates how to block selected elements on the page rather than the entire page.

Test link - click me! Lorem ipsum dolor sit amet consectetuer adipiscing elit sed lorem leo lorem leo consectetuer adipiscing elit sed lorem leo rhoncus sit amet lorem ipsum dolor sit amet consectetuer adipiscing elit sed lorem leo Test link - click me! Online JavaScript beautifier. How to Encode and Decode Strings with Base64 in JavaScript. Encoding and decoding a string in Base64 with JavaScript can be quite handy. It’s in no way meant to be a secure encryption method, but it is extremely useful for writing obfuscated strings to either a document (your webpage) or a cookie file without needing to worry about quotes or characters breaking things. Copy and paste the examples below in your Chrome Console to see them working. Internet Explorer 10 and above var string = 'Hello World!

' Cross-Browser Method (compressed) Heads Up! Stay Connected With Us hover these for magic Get valuable tips, articles, and resources straight to your inbox. Tinycon - Favicon Alert Bubbles. Create a new Fiddle - jsFiddle. jQuery Waypoints. Regex - Regular expression field validation in jQuery. jQuery RegEx Examples to use with .match() This is a reference post for some common RegExp (regular expressions) selectors that can be used with the jQuery.match() function.

This is very handy for finding pretty much anything inside your web page text and then doing something neat with it. Also handy for validation on forms. Learn how to use Regex with these examples: Regex Cheat Sheet jQuery RegExp for Numbers //select integers onlyvar intRegex = /[0-9 -()+]+$/; //match any ip addressvar ipRegex = '\b\d{1,3}\. jQuery RegExp for Validation jQuery RegExp for Dates //MatchDate (e.g. 21/3/2006)var dateRegex = /(\d{1,2}\/\d{1,2}\/\d{4})/gm; //match date in format MM/DD/YYYYvar dateMMDDYYYRegex = '^(0[1-9]|1[012])[- /.](0[1-9]|[12][0-9]|3[01])[- /.](19|20)\d\d$'; //match date in format DD/MM/YYYYvar dateDDMMYYYRegex = '^(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\d\d$'; jQuery RegExp for URL’s jQuery RegExp for Vowels //select vowels onlyvar vowelRegex = /^[aeiou]/; jQuery RegExp for Whitespace jQuery RegExp for Domain Names.

jRating jquery plugin - Very flexible jQuery plugin for creating quickly a star rating system : MyjQueryPlugins. jQuery Validation Plugin | Form validation with jQuery – this site is a work in progress.