From: Robert Hicks <[EMAIL PROTECTED]>
>
>I have avoided Ajax up to now. I guess I will delve into.

I did something like this before. I used the JS form submit function when the 
select/option choice changed. I'm not a big fan of JS, but I feel better about 
it now.

However, I also put a submit button next to the pull down that can be 
auomaticall refreshed. I made it hidden (stylesheet no display, form item 
disabled in case stylesheets are disabled). It says something like "refresh 
choices". And then I had to have logic in my CGI to detect that the choices in 
the box are not the correct choices for the value in the superior box (the one 
that, being changed should have caused the subordinate to update). Basically I 
had to work out a way to prompt the user to do the right thing if the automatic 
processing is disabled. Some people don't care too much about this. Especially 
if it's a corporate environment and you can dictate standards. But, on the 
extranet some people think it's important to fall back like this.

I also considered using an "iframe" (inline frame). You can update those 
independent of the entire page. But, it seemed ugly.

Mark

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to