Profile
Achievement
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
752
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
771
posted 13 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
654
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
963
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
891
posted 14 years ago by alvincrespo
Just a simple snippet on how to reverse a string using a for loop.
0
737
posted 14 years ago by alvincrespo