jQuery Form Input Hints Plugin for Placeholder Text
jQuery Form Input Hints plugin automatically displays placeholder text, or input hints, on input textboxes. Placeholder text is an HTML5 feature that only works well on the latest browsers, except of...
View ArticleUsing LINQ to Serialize a C# Object into JSON
The Problem You have a complex object and you need to serialize it into JSON (JavaScript Object Notation). But your client code only needs one of the properties. So why serialize the whole thing? The...
View ArticleGet a Filename from a Path in Javascript
Here’s a quick Javascript function that will parse the filename from a path using regex. It looks for any letter or digit, hyphen, or underscore followed by a dot (.) followed by a letters or numbers...
View ArticleAttach Multiple Event Listeners on the Facebook Load Event using jQuery
When developing a web app using the Facebook Javascript SDK, you may want to attach multiple event listeners to the Facebook load event. If you have the code to load and initialize Facebook’s SDK in a...
View Article