Wednesday, November 24, 2010

Re: AJAX Chain Reaction - Multiple Divs.

PS - very nice styling on your forms! Is that proprietary or free to
use?

On Nov 24, 10:42 pm, Stephen <step...@ninjacodermonkey.co.uk> wrote:
> Hi Michael
>
> Thanks for the reply.
>
> What does your code look like at the moment?
>
> Please see:http://pastie.org/private/3ojfcqvo2g395rgab6cnbw
>
> I am using CakePHP 1.2
>
> Are you using any of the AJAX/JS helper methods provided by Cake?
>
> I am using the javascript helper and a modified ajax helper (for jquery).
>
> > Which JS engine are you using (jQuery, prototype, ...)?
>
>  jQuery
>
> > Are you firing a new AJAX request each time the value of a select list
> > changes?
>
>  Yes, all requests are initiated by $ajax->observeField() and complimented
> with a little jquery
>
> > Are you pre-loading all conceivable options once at the start and just
> > selecting the
> > appropriate subset of options when you change values?
>
> I am loading the appropriate subset of options when values are changed.
>
> Please see the attached images for extra clarification.
>
> *identifier.png* - this is the initial step, before any ajax requests are
> made.
>
> *vertical.png*- this is a blind which contains all 5 steps
>
> *roller.png  *- this is another blind which only contains 3 steps but uses
> the same form and system.
>
> *configuration.png*- This is a list of options which has been loaded due to
> your selection (into the #options div)
>
> if you see the vertical.png image, these fields will need to be all loaded
> at once when I select "Vertical Blind" from the identifier.
> You can see the way I structured the html in my pastie.
>
> Kind Regards
>  Stephen
>
>  vertical.png
> 12KViewDownload
>
>  roller.png
> 8KViewDownload
>
>  identifier.png
> 4KViewDownload
>
>  configuration.png
> 29KViewDownload

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: