I may be wrong, but there really only seems to be one “niceforms” plugin available for JS (this one by BadBoy), and I was so happy to see that it’s been ported to jQuery style by Lucian Lature (get it here).. Recently I’ve used it on a project, and it turned out that it breaks under certain conditions:
- only works properly for one form on the page (if used on more than one form, selects reference the wrong elements)
- the “onChange” event disappeared
Since the client already signed off on the design, I tried fixing it, and heeey, it actually works! Based on the fact that I only had to change about 3 lines, I’d say it’s probably right
. (See: The implicit rightness of elegant code)
Here’s the updated version: (Updated Niceforms for jQuery)
Changes: “niceform” class should now be attached to a container (div, for example) that the form resides in. Keep in mind that there might still be broken functionality under the hood. I only fixed it to the point where I could use it for my project.
Enjoy
PS: Post a comment if you find a newer / better version of this plugin.
The link to the updated version doesn’t work.
Comment by Jen — February 8, 2008 @ 3:04 pm
Thanks! Fixed it.
Comment by Richtermeister — February 8, 2008 @ 3:13 pm
Buy:Viagra Soft Tabs.Maxaman.Cialis Super Active+.Levitra.Viagra.Zithromax.Tramadol.Viagra Professional.Viagra Super Force.Propecia.Cialis Soft Tabs.Soma.Cialis Professional.Viagra Super Active+.Super Active ED Pack.Cialis.VPXL….
Trackback by FELIX — September 6, 2010 @ 11:23 am