[thelist] updating cascading 'select' form elements fromadatabase

Manuel González Noriega manuel at simplelogica.net
Thu Aug 12 11:36:40 CDT 2004


El jue, 12-08-2004 a las 16:04, Joel D Canfield escribió:
> > 
> http://jibbering.com/2002/4/httprequest.html
> 
> Possibly, but that doesn't help. 

> I still don't see the big picture.

Welcome to my world ;)

What you want is called Remote Scripting and can be implemented in
several ways: via a hidden iframe(1), via xml-rpc(2) or via the said xml
http request object. Basically, onchange() of the select2 you do the
call to your script (see the 'Calling a server-side Script without
refreshing the page' section in that page), get the results back in xml
form, process them and use them to build you select3 combo

(1) http://www.oreillynet.com/pub/a/javascript/2002/02/08/iframe.html
(2) http://www.vcdn.org/Public/XMLRPC/


-- 
   Manuel trabaja para Simplelógica, construcción web
(+34) 985 22 12 65            http://simplelogica.net
escribe en Logicola http://simplelogica.net/logicola/    



More information about the thelist mailing list