JSForms 0.3.1

New version of JSForms is released. It's a minor update to 0.3 and focuses mostly on improving the tree control. It also has two important new features.

First the code is compressed on build (library only download), cutting the total library size in more than half. Compression cuts out most of the spaces, CRs (character return)  and all of the comments. Initially I had some problems with compression breaking the library. I forgot (or didn't know better) to add a semicolon (;) after function closing bracket (}). This is all fixed now. JSLint was priceless in finding the source of this problem.

Second new feature is support of a control chunk to disable selection in a control. It works by canceling default action for onselectstart (in IE) or onmousedown (in other browsers). It supports filtering to enable selection in certain elements (input and textarea by default). This is useful because selection sometimes gets in the way, of drag and drop in the tree contorl for example.

The tree has a lot of improvements. It now fires events when modified. Tree style has been improved and the columns now can have names. I also started to work on an example to generate HTML pulling data from a database for the tree using ASP. It's not quite completed yet. It will be in the next version.

Download it now or read more about new changes in the change log.

Also a new version of JSLint was released. I use it constantly to find errors in JSForms and quite a few it has saved me times from long hours of digging through the code. It is an important tool for any JavaScript developer.



Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: Slava
Posted on: 2/17/2006 at 3:07 PM
Categories: Web development
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed

Related posts

Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

Friday, November 21, 2008 6:16 AM