As the subject says I have the follow js:

----------------
Event.observe('events', 'change', function (e) {
  new Ajax.Updater('event_details',
                   'URL',
                   { method: 'post',
                     parameters: 'event=' +
e.element().id.gsub('event', '') });
});
----------------

This is working in Firefox but not IE.  I'm kind of at a loss as to
why it's not working. Taking a guess, maybe it has something to do
with what IE considers a "change" to  the ol #events:

----------------
<ol id="events">
  <li><input id="event1" type="radio" name="event" value="Event 1" />
    <label for="event1">Event 1</label></li>
  <li><input id="event2" type="radio" name="event" value="Event 2" />
    <label for="event2">Event 2</label></li>
...
</ol>
----------------

Technically, the inputs are changing, not the ol. Right? Is that what
IE is choking on? If it is, is there a more elegant way to fix it
rather than observing events on each input element?
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to