-
-
Recent Posts
Recent Comments
- caphun on Angular gotcha: ng-app=”myApp” (named applications)
- Melvina on Angular gotcha: ng-app=”myApp” (named applications)
- Get selected element's outer HTML | Easy jQuery | Free Popular Tips Tricks Plugins API Javascript and Themes on jQuery: outerHTML
- pacotole on jQuery: Textarea maxlength
- mani on How to get Fancybox 1.3.1 to stay put!
-
HTML5 Placeholders
HTML5 adds a new attribute to most form elements called a placeholder. Its purpose is to add a short hint inside data entry points that disappear on focus. This type of interaction isn’t new but is new to HTML as of version 5. For this reason not all browsers have implemented this feature. Try it […]
jQuery: Textarea maxlength
Being able to restrict the maximum length of user input from the interface directly is very convenient and practical in use. We do this a lot with input elements. Unfortunately textarea elements do not natively support the maxlength attribute. This attribute was finally added in HTML5 but at the time of writing Chrome is the […]
Labs: UI inlineEdit
After my last tutorial on building a simple inlineEdit plugin I converted the concepts into a UI widget. It’s now sitting in labs for you to use, pick apart and devour: http://jquery-ui.googlecode.com/svn/branches/labs/inlineedit/demo.html If you inspect the source code you will notice the structure is quite different. It’s actually pretty much the same functionality wise but […]
jQuery Inline Edit tutorial
Spanish translation by Maria Ramos. A friend recently asked me to review his edit-in-place code which turned out to be a modification of the one found at http://docs.jquery.com/Tutorials:Edit_in_Place_with_Ajax. Reading the tutorial on that page I asked myself how I would do this differently? Defining a global setClickable() function and then calling $(‘#editInPlace”).click() is totally uncool, […]