From: Raja <m.r...@ni...> - 2011-04-21 09:35:37
|
Hi Adam !!! You r correct .. But, my point of view here in this xforms approach there is no headache - simple code without JS can get the expected output .. Ya , if he used plain html form then your jQuery approach can be the exact solution ,.. By Rajamani marimuthu XRX Team OTC On 04/21/11, Adam Retter <ad...@ex...> wrote: > > 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.r...@ni... <m.r...@ni...>> 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 <sim...@ya... <sim...@ya...>> 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(http://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 > > > > Exi...@li... <Exi...@li...> > > > > https://lists.sourceforge.net/lists/listinfo/exist-open > > > > > > > > > > -- > Adam Retter > > eXist Developer > { United Kingdom } > ad...@ex... <ad...@ex...> > irc://irc.freenode.net/existdb(http://irc.freenode.net/existdb) > > > > -- Rajamani Marimuthu Junior Research Fellow-JRF NIC -Open Technology Centre Rajaji Bhavan Besant Nagar, Chennai - 90 Cell : 9677192096 |