On Tue, May 31, 2011 at 10:57:36AM -0500, Miguel Beltran R. wrote:
> 2011/5/29 Kristofer <krishop...@gmail.com>
> 
> > Hello,
> >
> > I am trying to figure out how to do this properly.
> >
> > I have a site with two dropdown boxes, one for a Color and one for a
> > Size.  Using Event.Observe() I attach a listener to both.  When one is
> > selected, it performs an AJAX call to update the contents of the other
> > to show sizes or colors available, and there is also another
> > Event.Observe() in the AJAX call so that when the updated field is
> > changed, it updates another element with an "Add to Cart" link and a
> > price.
> >
> > This works in both IE and Firefox, but Chrome doesn't seem to be
> > listening to the new "click" event that is attached through the AJAX
> > call.
> >
> > Does anyone have any suggestions as to what I may be missing?
> >
> >
> are you tried Chrome Developer Tools or Firebug lite?
> 
> http://getfirebug.com/releases/lite/chrome/
> 
> I don't use Chrome, do have something like console errors?

There aren't any errors.

I guess what my question is more pointed at is: is it proper to add a
new listener through javascript code which is passed back through an
AJAX response?

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to