about 1 month ago - No comments
You might have across various registration pages, where you need to re-confirm your email. This validation step is to ensure that a erroneous email address is prevented. However, most of us instead of usually entering the email address twice, simply copy-paste it from the previous email address field. So if we (or our users) did
about 8 months ago - No comments
January 14 marks the birth of jQuery. To celebrate the release of jQuery 1.4 (also on January 14), the jQuery team is bringing fourteen consecutive days of new releases. Each day, they will publish videos, tutorials, code releases and other fun stuff. They have already announced the re-design of the jQuery API site. For more
about 10 months ago - No comments
This post explains self-executing functions and its benefits. So lets started by breaking down a normal function and converting it into one … var myVar = “This is a normal function…”; function ShowAlert(textToAlert) { alert(textToAlert); } ShowAlert(myVar); We all know that functions are also objects in JavaScript. Thus they can be evaluated using the eval()
about 11 months ago - No comments
Woork author Antonia Lupetti has recently released a visual cheat sheet for jQuery 1.3. The cheat sheet having six pages is a helpful reference containing the complete API reference with descriptions and sample code. What I like most about this cheat sheet, is it’s simple and elegant design. Kudos to Antonia!
about 1 year ago - No comments
I recently came across a very nice jQuery control library called jQuery Tools. The library features the following JavaScript tools : Tabs Tooltips Expose Overlay Scrollable FlashEmbed So now you are thinking “Whats so great about this? We already have tons of jQuery plugins for this…”. I thought so too. The striking advantage of this
about 1 year ago - No comments
Here’s a small JavaScript helper to read URL Query String Parameters. function GetUrlParams() { var vars = [], hash; var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&'); for(var i = 0; i < hashes.length; i++) { hash = hashes[i].split('='); vars.push(hash[0]); vars[hash[0]] = hash[1]; } return vars; } The above function, will read the URL, get the query