Open Source & stuff 

Salix.gr

User login

Ajax Linked Select boxes

Place linked select boxes on to your page that dynamicaly load items from database using Ajax.
You can chain as many select boxes as you like.

This is the start of a series of little helper classes for saving time re-writing small stuff that
occure on a form again and again, like a select box filled with values from a db table and 1 of them is selected.

That same file contains and second class used from the linked select boxes class.
That one is a small class that adds select box, radio group,
checkbox group, created from a list of values.

New version supports radio groups instead of select boxes. Both select boxes and radio groups can be used together

Version: 0.5
License type: GNU GPL.
Requirements: Protype javascript library.

News:

  • 23.May.2008.
    Added in to the package a small updater class. Retrieves using ajax a database record and updates divs or text inputs with record values.

  • 24.Sep.2007.
    Finaly got the time to finish new version. Also made it little more compact and i hope easier to use.
  • 25.Jul.2007. I started coding a new version that supports radio groups instead of select boxes. Both select boxes and radio groups can be used together.
  • 27.May.2007. Bug fix extra where.
  • 18.May.2007. Added an extra parameter to add_select_box method for custom 'Please select' message per select box. Plus a minor change to generated javascript to bypass joomla template engine.
  • 22.Dec.2006. Added an extra parameter to add_select_box method for extra item filtering.
  • 12.Dec.2006. Fixed IE bug. IE crashed when trying to clear select box.
  • 15.Dec.2006. Fixed Safari bug. XML wasnt correctly parsed and select box was filled with options with value and text "undefined".

To do:
Making a new list ...

Links:

SORRY!
Download attached file for sample database.

AttachmentSize
lsb 20080528 0934.zip1.44 KB

All Rights Reserved 2006-8 Salix.gr | Hosting by e-emporio