Profile
Achievement
![first submission:submitting first snipplet first submission:submitting first snipplet](/img/badge/badge_2.png?v3)
alvincrespo's Recent SnippetsTagged javascript
- All /
« Prev 1 Next »
Basically creates a log function on the window object and uses console.log or alert depending on which is supported. Very basic and simple but definitely useful.
0
789
posted 13 years ago by alvincrespo
This is essentially how to detect an outside click for a dialog box on a website, using HTML/CSS/Javascript/JQuery.
Essentially you need to understand event propagation how it works throughout the DOM with JQuery, to make this as simple as possib...
0
817
posted 14 years ago by alvincrespo
These are essential javascript techniques every javascriptr must know. I will be adding more to this list, let me know what you'd like to see. Thanks!
0
688
posted 14 years ago by alvincrespo
Just thought id put up a version of my form validation class. It will be expanded in the future but I thought Id let everyone have a look.
# Update 0.1 #
* Create Error List Function
* Validate Email Address Function
* Valida...
0
998
posted 14 years ago by alvincrespo
This is a simple example of OOP in Javascript, based off the highly popular Javascript "The Definitive Guide" book by David Flanagan. I will be expanding this example in the future, let me know what you'd like to see. Thanks!
Note: You must have...
0
930
posted 14 years ago by alvincrespo
Just a simple snippet on how to reverse a string using a for loop.
0
790
posted 14 years ago by alvincrespo