Cool so an XForms approach :-)

When discussing with Achille on IRC last night, he was just using HTML Forms, so I suggested that he use jQuery on the client side to listen to events generated by changes in the first select box, then do an ajax request to eXist-db to get the data for the second select box.

On 21 April 2011 11:14, Raja <m.rajamani@nic.in> wrote:
Hi Achille !!!

use the attached sample code for your dependent combo requirement... Enjoy ..

By
Rajamani marimuthu.
XRX Team
OTC


On 04/21/11, achille mbougueng <simachille@yahoo.fr> wrote:

hello,
I use exist  an i have  an rdf file
I have two select in a form.
the first takes a simple select and the second a select multiple.i would like  the values ​​taken by the second select to be linked to those of the first select

example:
initially  the 2nd select does(and displays) nothing it  is empty
 the  first select contains math and computer
if a user choose math in the  first, the second  displays just arithmetic, geometry and statistics,


if a user choose computer the second displays just networks and web development

how to do it please?

Achille MBOUGUENG
Tel:+ 216 2242 16 44
skype: sim_patricx
web: achillesimo.creativdev-mada.com

www.andandoo.info



--
Rajamani Marimuthu
Junior Research Fellow-JRF
NIC -Open Technology Centre
Rajaji Bhavan
Besant Nagar,
Chennai - 90
Cell : 9677192096


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Exist-open mailing list
Exist-open@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open




--
Adam Retter

eXist Developer
{ United Kingdom }
adam@exist-db.org
irc://irc.freenode.net/existdb